Soenneker.Instantly.ClientUtil
4.0.610
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Instantly.ClientUtil --version 4.0.610
NuGet\Install-Package Soenneker.Instantly.ClientUtil -Version 4.0.610
<PackageReference Include="Soenneker.Instantly.ClientUtil" Version="4.0.610" />
<PackageVersion Include="Soenneker.Instantly.ClientUtil" Version="4.0.610" />
<PackageReference Include="Soenneker.Instantly.ClientUtil" />
paket add Soenneker.Instantly.ClientUtil --version 4.0.610
#r "nuget: Soenneker.Instantly.ClientUtil, 4.0.610"
#:package Soenneker.Instantly.ClientUtil@4.0.610
#addin nuget:?package=Soenneker.Instantly.ClientUtil&version=4.0.610
#tool nuget:?package=Soenneker.Instantly.ClientUtil&version=4.0.610
Soenneker.Instantly.ClientUtil
Create and reuse an authenticated Instantly generated client, with optional HTTP request and response logging.
Install
dotnet add package Soenneker.Instantly.ClientUtil
Configure
{
"Instantly": {
"ApiKey": "<API key>",
"RequestResponseLogging": false
}
}
ApiKey is required. Set RequestResponseLogging to true to log HTTP traffic at debug level; consider the sensitivity of message bodies and headers before enabling it.
Register
using Soenneker.Instantly.ClientUtil.Registrars;
services.AddInstantlyOpenApiClientUtilAsScoped();
The scoped utility deliberately keeps IInstantlyClient singleton. Without HTTP logging, disposing a scope releases only the generated-client wrapper and keeps the shared transport available to later scopes. With HTTP logging enabled, each utility creates and disposes its own logging transport.
Use AddInstantlyOpenApiClientUtilAsSingleton() when the generated client should live for the application lifetime.
Usage
using Soenneker.Instantly.ClientUtil.Abstract;
using Soenneker.Instantly.OpenApiClient;
using Soenneker.Instantly.OpenApiClient.Models;
InstantlyOpenApiClient client = await clientUtil.Get(cancellationToken);
ListAccount200Response? accounts = await client.Api.V2.Accounts.GetAsync(
config => config.QueryParameters.Limit = 10,
cancellationToken);
Concurrent and repeated Get() calls on the same utility reuse its lazily created generated client. Cancellation affects first-time initialization; pass the token separately to generated request methods as shown above.
Authentication is applied by the selected HTTP transport, so the Kiota adapter does not add a second bearer header. Let the service container dispose the utility and underlying provider.
| 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.HttpClients.LoggingHandler (>= 4.0.215)
- Soenneker.Instantly.Client (>= 4.0.1891)
- Soenneker.Instantly.OpenApiClient (>= 4.0.300)
- Soenneker.Utils.AsyncSingleton (>= 4.0.820)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Soenneker.Instantly.ClientUtil:
| Package | Downloads |
|---|---|
|
Soenneker.Instantly.Leads
Adds, finds, searches, and deletes Instantly leads |
|
|
Soenneker.Instantly.Unibox
Lists Instantly Unibox emails using lead, campaign, type, preview, thread, and cursor filters |
|
|
Soenneker.Instantly.Accounts
Lists Instantly sending accounts one page at a time or across all available pages |
|
|
Soenneker.Instantly.Verification
Starts Instantly email-verification jobs and retrieves their results |
|
|
Soenneker.Instantly.Analytics
Retrieves per-campaign and workspace-wide Instantly campaign analytics |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.613 | 0 | 8/31/2026 |
| 4.0.612 | 0 | 8/31/2026 |
| 4.0.611 | 0 | 8/31/2026 |
| 4.0.610 | 0 | 8/31/2026 |
| 4.0.609 | 40 | 8/31/2026 |
| 4.0.608 | 84 | 8/30/2026 |
| 4.0.607 | 87 | 8/30/2026 |
| 4.0.606 | 44 | 8/30/2026 |
| 4.0.605 | 81 | 8/30/2026 |
| 4.0.604 | 97 | 8/29/2026 |
| 4.0.603 | 91 | 8/28/2026 |
| 4.0.602 | 251 | 8/26/2026 |
| 4.0.601 | 81 | 8/26/2026 |
| 4.0.600 | 114 | 8/26/2026 |
| 4.0.599 | 102 | 8/25/2026 |
| 4.0.598 | 148 | 8/24/2026 |
| 4.0.597 | 283 | 8/22/2026 |
| 4.0.596 | 188 | 8/22/2026 |
| 4.0.595 | 150 | 8/22/2026 |
| 4.0.594 | 282 | 8/21/2026 |
Update dependency Soenneker.HttpClients.LoggingHandler to 4.0.215 (#887)