Soenneker.Instantly.Client
11.0.1998
Prefix Reserved
dotnet add package Soenneker.Instantly.Client --version 11.0.1998
NuGet\Install-Package Soenneker.Instantly.Client -Version 11.0.1998
<PackageReference Include="Soenneker.Instantly.Client" Version="11.0.1998" />
<PackageVersion Include="Soenneker.Instantly.Client" Version="11.0.1998" />
<PackageReference Include="Soenneker.Instantly.Client" />
paket add Soenneker.Instantly.Client --version 11.0.1998
#r "nuget: Soenneker.Instantly.Client, 11.0.1998"
#:package Soenneker.Instantly.Client@11.0.1998
#addin nuget:?package=Soenneker.Instantly.Client&version=11.0.1998
#tool nuget:?package=Soenneker.Instantly.Client&version=11.0.1998
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 | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.917)
- Soenneker.Utils.HttpClientCache (>= 11.0.2152)
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 |
|---|---|---|
| 11.0.1998 | 159 | 11/11/2026 |
| 11.0.1997 | 101 | 11/11/2026 |
| 11.0.1996 | 127 | 11/11/2026 |
| 11.0.1995 | 90 | 11/11/2026 |
| 11.0.1993 | 210 | 11/11/2026 |
| 11.0.1992 | 1,456 | 11/3/2026 |
| 11.0.1991 | 190 | 11/3/2026 |
| 11.0.1989 | 300 | 11/3/2026 |
| 11.0.1988 | 1,506 | 10/27/2026 |
| 11.0.1987 | 323 | 10/27/2026 |
| 11.0.1986 | 243 | 10/26/2026 |
| 11.0.1985 | 105 | 10/26/2026 |
| 11.0.1984 | 99 | 10/26/2026 |
| 4.0.1982 | 596 | 10/25/2026 |
| 4.0.1981 | 1,190 | 10/15/2026 |
| 4.0.1980 | 101 | 10/15/2026 |
| 4.0.1979 | 90 | 10/15/2026 |
| 4.0.1978 | 186 | 10/14/2026 |
| 4.0.1976 | 171 | 10/14/2026 |
| 4.0.1975 | 100 | 10/14/2026 |
Updated Soenneker.Utils.HttpClientCache to 11.0.2152