Soenneker.HighLevel.Client 4.0.321

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.HighLevel.Client --version 4.0.321
                    
NuGet\Install-Package Soenneker.HighLevel.Client -Version 4.0.321
                    
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.HighLevel.Client" Version="4.0.321" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.HighLevel.Client" Version="4.0.321" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.HighLevel.Client" />
                    
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.HighLevel.Client --version 4.0.321
                    
#r "nuget: Soenneker.HighLevel.Client, 4.0.321"
                    
#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.HighLevel.Client@4.0.321
                    
#: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.HighLevel.Client&version=4.0.321
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.HighLevel.Client&version=4.0.321
                    
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.HighLevel.Client

Reuse HighLevel HTTP transports with the required API version header and optional per-account bearer authentication.

Installation

dotnet add package Soenneker.HighLevel.Client

Configuration

The client targets https://services.leadconnectorhq.com/ and sends HighLevel API version 2021-07-28 by default. Override only the version when needed:

{
  "HighLevel": {
    "Version": "2021-07-28"
  }
}

API keys are passed to Get; they are not read from configuration.

Registration

services.AddHighLevelHttpClientAsSingleton();

Use AddHighLevelHttpClientAsScoped() only when each scope should own its own client set. Each provider instance uses isolated cache keys, and disposing it removes only the clients that provider created.

Authenticated clients

HttpClient tenantClient = await highLevelHttpClient.Get(
    tenantApiKey,
    cancellationToken);

HttpResponseMessage response = await tenantClient.GetAsync(
    "contacts/",
    cancellationToken);
response.EnsureSuccessStatusCode();

Each distinct API key receives a separately cached client with Authorization: Bearer <api-key>. Repeated calls with the same key on the same provider reuse that client.

Unauthenticated transport

HttpClient transport = await highLevelHttpClient.Get(cancellationToken);

The parameterless overload returns a cached client with the base address and Version header but no authorization header. It is intended for higher-level components that add authentication themselves.

The provider owns every returned client. Let the service container dispose the provider; do not dispose individual cached clients.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.HighLevel.Client:

Package Downloads
Soenneker.HighLevel.ClientUtil

Provides cached HighLevel generated clients for one or more API keys

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.323 0 10/26/2026
11.0.322 0 10/26/2026
4.0.321 0 10/26/2026
4.0.320 338 10/15/2026
4.0.319 105 10/14/2026
4.0.317 134 10/14/2026
4.0.316 79 10/14/2026
4.0.315 99 10/14/2026
4.0.314 133 10/14/2026
4.0.308 118 10/13/2026
4.0.307 100 10/13/2026
4.0.305 171 10/12/2026
4.0.304 153 10/12/2026
4.0.303 95 10/12/2026
4.0.302 107 10/11/2026
4.0.301 157 10/11/2026
4.0.300 373 10/1/2026
4.0.299 205 9/29/2026
4.0.298 140 9/29/2026
4.0.297 133 9/26/2026
Loading failed

Update dependency Microsoft.Extensions.Configuration.Abstractions to 10.0.14 (#581)