Soenneker.Instantly.Client
4.0.1908
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Instantly.Client --version 4.0.1908
NuGet\Install-Package Soenneker.Instantly.Client -Version 4.0.1908
<PackageReference Include="Soenneker.Instantly.Client" Version="4.0.1908" />
<PackageVersion Include="Soenneker.Instantly.Client" Version="4.0.1908" />
<PackageReference Include="Soenneker.Instantly.Client" />
paket add Soenneker.Instantly.Client --version 4.0.1908
#r "nuget: Soenneker.Instantly.Client, 4.0.1908"
#:package Soenneker.Instantly.Client@4.0.1908
#addin nuget:?package=Soenneker.Instantly.Client&version=4.0.1908
#tool nuget:?package=Soenneker.Instantly.Client&version=4.0.1908
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 | Versions 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. |
-
net10.0
- Soenneker.Extensions.Configuration (>= 4.0.872)
- Soenneker.Utils.HttpClientCache (>= 4.0.2055)
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.1935 | 84 | 9/13/2026 |
| 4.0.1934 | 44 | 9/13/2026 |
| 4.0.1933 | 88 | 9/13/2026 |
| 4.0.1932 | 39 | 9/13/2026 |
| 4.0.1931 | 113 | 9/13/2026 |
| 4.0.1930 | 37 | 9/13/2026 |
| 4.0.1929 | 112 | 9/12/2026 |
| 4.0.1928 | 43 | 9/12/2026 |
| 4.0.1927 | 112 | 9/12/2026 |
| 4.0.1926 | 40 | 9/12/2026 |
| 4.0.1925 | 46 | 9/12/2026 |
| 4.0.1924 | 422 | 9/9/2026 |
| 4.0.1923 | 191 | 9/9/2026 |
| 4.0.1922 | 65 | 9/9/2026 |
| 4.0.1921 | 244 | 9/9/2026 |
| 4.0.1920 | 325 | 9/8/2026 |
| 4.0.1919 | 354 | 9/8/2026 |
| 4.0.1918 | 225 | 9/8/2026 |
| 4.0.1917 | 274 | 9/8/2026 |
| 4.0.1908 | 253 | 9/4/2026 |
Updated Soenneker.Utils.HttpClientCache to 4.0.2055