Soenneker.Instantly.OpenApiClient 11.0.392

Prefix Reserved
dotnet add package Soenneker.Instantly.OpenApiClient --version 11.0.392
                    
NuGet\Install-Package Soenneker.Instantly.OpenApiClient -Version 11.0.392
                    
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="11.0.392" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Instantly.OpenApiClient" Version="11.0.392" />
                    
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 11.0.392
                    
#r "nuget: Soenneker.Instantly.OpenApiClient, 11.0.392"
                    
#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@11.0.392
                    
#: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=11.0.392
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.OpenApiClient&version=11.0.392
                    
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 net11.0 is compatible. 
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
11.0.392 118 11/27/2026
11.0.391 130 11/26/2026
11.0.390 180 11/25/2026
11.0.389 227 11/24/2026
11.0.388 253 11/21/2026
11.0.387 236 11/20/2026
11.0.386 223 11/19/2026
11.0.385 356 11/18/2026
11.0.384 93 11/18/2026
11.0.383 364 11/18/2026
11.0.382 205 11/17/2026
11.0.381 91 11/17/2026
11.0.380 177 11/17/2026
11.0.379 437 11/14/2026
11.0.378 261 11/13/2026
11.0.377 235 11/12/2026
11.0.376 500 11/11/2026
11.0.375 255 11/10/2026
11.0.374 348 11/10/2026
11.0.373 274 11/7/2026
Loading failed

Update Soenneker.Instantly.OpenApiClient