Soenneker.Instantly.Client 4.0.1902

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Instantly.Client --version 4.0.1902
                    
NuGet\Install-Package Soenneker.Instantly.Client -Version 4.0.1902
                    
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.Client" Version="4.0.1902" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Instantly.Client" Version="4.0.1902" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Instantly.Client" />
                    
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.Client --version 4.0.1902
                    
#r "nuget: Soenneker.Instantly.Client, 4.0.1902"
                    
#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.Client@4.0.1902
                    
#: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.Client&version=4.0.1902
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.Client&version=4.0.1902
                    
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.Client

Reuse an authenticated HTTP client for Instantly's v2 API.

Install

dotnet add package Soenneker.Instantly.Client

Configure

{
  "Instantly": {
    "ApiKey": "<API key>"
  }
}

Instantly:ApiKey is required when the provider is created.

Register

using Soenneker.Instantly.Client.Registrars;

services.AddInstantlyClientAsSingleton();

Use AddInstantlyClientAsScoped() only when each scope should own its transport. Provider instances use isolated cache keys, so disposing one scope removes only its own client.

Usage

using Soenneker.Instantly.Client.Abstract;

HttpClient client = await instantlyClient.Get(cancellationToken);

HttpResponseMessage response = await client.GetAsync(
    "accounts?limit=10",
    cancellationToken);
response.EnsureSuccessStatusCode();

The returned client targets https://api.instantly.ai/api/v2/ and sends the configured key as Authorization: Bearer <API key>.

Repeated Get() calls on the same provider reuse its client. The provider owns that client; let the service container dispose the provider rather than disposing the returned instance directly.

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.Client:

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.1904 0 9/1/2026
4.0.1903 0 9/1/2026
4.0.1902 24 8/31/2026
4.0.1900 42 8/31/2026
4.0.1899 65 8/31/2026
4.0.1898 40 8/31/2026
4.0.1897 32 8/31/2026
4.0.1896 39 8/31/2026
4.0.1895 40 8/30/2026
4.0.1894 38 8/30/2026
4.0.1893 43 8/30/2026
4.0.1892 45 8/30/2026
4.0.1891 255 8/30/2026
4.0.1890 33 8/30/2026
4.0.1889 38 8/29/2026
4.0.1888 49 8/29/2026
4.0.1887 434 8/26/2026
4.0.1886 100 8/26/2026
4.0.1885 160 8/26/2026
4.0.1884 71 8/25/2026
Loading failed

Update dependency Soenneker.Utils.HttpClientCache to 4.0.2049 (#2424)