Soenneker.Instantly.OpenApiClient 4.0.310

Prefix Reserved
dotnet add package Soenneker.Instantly.OpenApiClient --version 4.0.310
                    
NuGet\Install-Package Soenneker.Instantly.OpenApiClient -Version 4.0.310
                    
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.310" />
                    
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.310" />
                    
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.310
                    
#r "nuget: Soenneker.Instantly.OpenApiClient, 4.0.310"
                    
#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.310
                    
#: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.310
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.OpenApiClient&version=4.0.310
                    
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.310 0 9/8/2026
4.0.309 6 9/7/2026
4.0.308 270 9/4/2026
4.0.307 189 9/4/2026
4.0.306 593 9/3/2026
4.0.305 148 9/3/2026
4.0.304 46 9/3/2026
4.0.303 137 9/3/2026
4.0.302 137 9/1/2026
4.0.301 665 8/31/2026
4.0.300 733 8/29/2026
4.0.299 181 8/28/2026
4.0.298 637 8/25/2026
4.0.297 183 8/24/2026
4.0.296 630 8/21/2026
4.0.295 375 8/20/2026
4.0.294 590 8/15/2026
4.0.293 479 8/14/2026
4.0.292 277 8/12/2026
4.0.291 758 8/7/2026
Loading failed

Updated Multiple NuGet packages