Soenneker.Instantly.OpenApiClient 4.0.308

Prefix Reserved
dotnet add package Soenneker.Instantly.OpenApiClient --version 4.0.308
                    
NuGet\Install-Package Soenneker.Instantly.OpenApiClient -Version 4.0.308
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Instantly.OpenApiClient" Version="4.0.308" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Instantly.OpenApiClient" Version="4.0.308" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Instantly.OpenApiClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Instantly.OpenApiClient --version 4.0.308
                    
#r "nuget: Soenneker.Instantly.OpenApiClient, 4.0.308"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Instantly.OpenApiClient@4.0.308
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Instantly.OpenApiClient&version=4.0.308
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.OpenApiClient&version=4.0.308
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 40 9/4/2026
4.0.307 109 9/4/2026
4.0.306 331 9/3/2026
4.0.305 111 9/3/2026
4.0.304 42 9/3/2026
4.0.303 107 9/3/2026
4.0.302 121 9/1/2026
4.0.301 635 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
Loading failed

Automated update