Soenneker.Instantly.ClientUtil 4.0.610

Prefix Reserved
There is a newer version of this package available.
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
                    
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.ClientUtil" Version="4.0.610" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Instantly.ClientUtil" Version="4.0.610" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Instantly.ClientUtil" />
                    
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.ClientUtil --version 4.0.610
                    
#r "nuget: Soenneker.Instantly.ClientUtil, 4.0.610"
                    
#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.ClientUtil@4.0.610
                    
#: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.ClientUtil&version=4.0.610
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Instantly.ClientUtil&version=4.0.610
                    
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.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 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 (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
Loading failed

Update dependency Soenneker.HttpClients.LoggingHandler to 4.0.215 (#887)