Soenneker.Instantly.OpenApiClient
4.0.301
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Instantly.OpenApiClient --version 4.0.301
NuGet\Install-Package Soenneker.Instantly.OpenApiClient -Version 4.0.301
<PackageReference Include="Soenneker.Instantly.OpenApiClient" Version="4.0.301" />
<PackageVersion Include="Soenneker.Instantly.OpenApiClient" Version="4.0.301" />
<PackageReference Include="Soenneker.Instantly.OpenApiClient" />
paket add Soenneker.Instantly.OpenApiClient --version 4.0.301
#r "nuget: Soenneker.Instantly.OpenApiClient, 4.0.301"
#:package Soenneker.Instantly.OpenApiClient@4.0.301
#addin nuget:?package=Soenneker.Instantly.OpenApiClient&version=4.0.301
#tool nuget:?package=Soenneker.Instantly.OpenApiClient&version=4.0.301
Soenneker.Instantly.OpenApiClient
Call Instantly endpoints through a Kiota-generated client with typed request builders and models.
Install
dotnet add package Soenneker.Instantly.OpenApiClient
Create a client
using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Instantly.OpenApiClient;
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://api.instantly.ai/")
};
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", apiKey);
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient);
var client = new InstantlyOpenApiClient(adapter);
The HttpClient supplies authentication, so the Kiota adapter uses anonymous authentication. Reuse the transport rather than constructing one per request, and dispose it when its owning application component shuts down.
For application registration, lazy client reuse, optional HTTP logging, and coordinated transport ownership, use Soenneker.Instantly.ClientUtil instead of constructing the generated client directly.
Call an endpoint
using Soenneker.Instantly.OpenApiClient.Models;
ListAccount200Response? accounts = await client.Api.V2.Accounts.GetAsync(
config => config.QueryParameters.Limit = 10,
cancellationToken);
The generated surface follows the OpenAPI document. Start with client.Api.V2, then follow request builders for resources such as Accounts, Campaigns, Leads, and DfyEmailAccountOrders. Types under Soenneker.Instantly.OpenApiClient.Models represent request and response bodies.
HTTP failures are surfaced through Kiota exceptions. Nullable results indicate that an endpoint returned no response body.
This repository contains generated code. Put reusable helpers and behavior changes in a separate package so regeneration does not overwrite them.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.0.0)
- Microsoft.Kiota.Serialization.Form (>= 2.0.0)
- Microsoft.Kiota.Serialization.Json (>= 2.0.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.0.0)
- Microsoft.Kiota.Serialization.Text (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Instantly.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Instantly.ClientUtil
Provides a lazily created Instantly generated client over a reusable authenticated transport |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.308 | 114 | 9/4/2026 |
| 4.0.307 | 149 | 9/4/2026 |
| 4.0.306 | 396 | 9/3/2026 |
| 4.0.305 | 120 | 9/3/2026 |
| 4.0.304 | 43 | 9/3/2026 |
| 4.0.303 | 114 | 9/3/2026 |
| 4.0.302 | 126 | 9/1/2026 |
| 4.0.301 | 640 | 8/31/2026 |
| 4.0.300 | 724 | 8/29/2026 |
| 4.0.299 | 178 | 8/28/2026 |
| 4.0.298 | 633 | 8/25/2026 |
| 4.0.297 | 181 | 8/24/2026 |
| 4.0.296 | 627 | 8/21/2026 |
| 4.0.295 | 372 | 8/20/2026 |
| 4.0.294 | 589 | 8/15/2026 |
| 4.0.293 | 477 | 8/14/2026 |
| 4.0.292 | 275 | 8/12/2026 |
| 4.0.291 | 757 | 8/7/2026 |
| 4.0.290 | 604 | 8/6/2026 |
| 4.0.289 | 184 | 8/5/2026 |
Improve generated Instantly client documentation