Soenneker.HighLevel.Client 4.0.320

Prefix Reserved
dotnet add package Soenneker.HighLevel.Client --version 4.0.320
                    
NuGet\Install-Package Soenneker.HighLevel.Client -Version 4.0.320
                    
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.320" />
                    
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.320" />
                    
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.320
                    
#r "nuget: Soenneker.HighLevel.Client, 4.0.320"
                    
#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.320
                    
#: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.320
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.HighLevel.Client&version=4.0.320
                    
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
4.0.320 244 10/15/2026
4.0.319 88 10/14/2026
4.0.317 128 10/14/2026
4.0.316 77 10/14/2026
4.0.315 92 10/14/2026
4.0.314 131 10/14/2026
4.0.308 113 10/13/2026
4.0.307 93 10/13/2026
4.0.305 168 10/12/2026
4.0.304 147 10/12/2026
4.0.303 93 10/12/2026
4.0.302 98 10/11/2026
4.0.301 148 10/11/2026
4.0.300 371 10/1/2026
4.0.299 202 9/29/2026
4.0.298 139 9/29/2026
4.0.297 132 9/26/2026
4.0.296 130 9/25/2026
4.0.295 102 9/25/2026
4.0.294 115 9/25/2026
Loading failed

Updated NuGet packages