Soenneker.Instantly.OpenApiClient 4.0.315

Prefix Reserved
dotnet add package Soenneker.Instantly.OpenApiClient --version 4.0.315
                    
NuGet\Install-Package Soenneker.Instantly.OpenApiClient -Version 4.0.315
                    
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.315" />
                    
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.315" />
                    
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.315
                    
#r "nuget: Soenneker.Instantly.OpenApiClient, 4.0.315"
                    
#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.315
                    
#: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.315
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.OpenApiClient&version=4.0.315
                    
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.315 84 9/15/2026
4.0.314 569 9/12/2026
4.0.313 98 9/12/2026
4.0.312 366 9/10/2026
4.0.311 302 9/9/2026
4.0.310 816 9/8/2026
4.0.309 613 9/7/2026
4.0.308 650 9/4/2026
4.0.307 321 9/4/2026
4.0.306 906 9/3/2026
4.0.305 229 9/3/2026
4.0.304 97 9/3/2026
4.0.303 212 9/3/2026
4.0.302 181 9/1/2026
4.0.301 696 8/31/2026
4.0.300 743 8/29/2026
4.0.299 188 8/28/2026
4.0.298 642 8/25/2026
4.0.297 189 8/24/2026
4.0.296 666 8/21/2026
Loading failed

Update dependency dotnet-sdk to v10.0.401 (#441)

Automatically merged