Soenneker.Instantly.Client
4.0.1897
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Instantly.Client --version 4.0.1897
NuGet\Install-Package Soenneker.Instantly.Client -Version 4.0.1897
<PackageReference Include="Soenneker.Instantly.Client" Version="4.0.1897" />
<PackageVersion Include="Soenneker.Instantly.Client" Version="4.0.1897" />
<PackageReference Include="Soenneker.Instantly.Client" />
paket add Soenneker.Instantly.Client --version 4.0.1897
#r "nuget: Soenneker.Instantly.Client, 4.0.1897"
#:package Soenneker.Instantly.Client@4.0.1897
#addin nuget:?package=Soenneker.Instantly.Client&version=4.0.1897
#tool nuget:?package=Soenneker.Instantly.Client&version=4.0.1897
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.869)
- Soenneker.Utils.HttpClientCache (>= 4.0.2044)
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.1902 | 0 | 8/31/2026 |
| 4.0.1900 | 0 | 8/31/2026 |
| 4.0.1899 | 0 | 8/31/2026 |
| 4.0.1898 | 31 | 8/31/2026 |
| 4.0.1897 | 27 | 8/31/2026 |
| 4.0.1896 | 33 | 8/31/2026 |
| 4.0.1895 | 37 | 8/30/2026 |
| 4.0.1894 | 36 | 8/30/2026 |
| 4.0.1893 | 40 | 8/30/2026 |
| 4.0.1892 | 42 | 8/30/2026 |
| 4.0.1891 | 164 | 8/30/2026 |
| 4.0.1890 | 32 | 8/30/2026 |
| 4.0.1889 | 38 | 8/29/2026 |
| 4.0.1888 | 49 | 8/29/2026 |
| 4.0.1887 | 385 | 8/26/2026 |
| 4.0.1886 | 96 | 8/26/2026 |
| 4.0.1885 | 155 | 8/26/2026 |
| 4.0.1884 | 70 | 8/25/2026 |
| 4.0.1883 | 413 | 8/22/2026 |
| 4.0.1882 | 271 | 8/21/2026 |
Update dependency Soenneker.Extensions.Configuration to 4.0.869 (#2420)