Soenneker.HighLevel.Client 4.0.267

Prefix Reserved
dotnet add package Soenneker.HighLevel.Client --version 4.0.267
                    
NuGet\Install-Package Soenneker.HighLevel.Client -Version 4.0.267
                    
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.267" />
                    
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.267" />
                    
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.267
                    
#r "nuget: Soenneker.HighLevel.Client, 4.0.267"
                    
#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.267
                    
#: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.267
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.HighLevel.Client&version=4.0.267
                    
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.267 52 9/5/2026
4.0.266 44 9/5/2026
4.0.265 42 9/5/2026
4.0.264 67 9/4/2026
4.0.263 55 9/4/2026
4.0.262 46 9/4/2026
4.0.261 60 9/4/2026
4.0.259 64 9/4/2026
4.0.258 65 9/3/2026
4.0.257 135 9/1/2026
4.0.256 108 8/31/2026
4.0.255 108 8/31/2026
4.0.254 98 8/31/2026
4.0.253 79 8/31/2026
4.0.252 82 8/31/2026
4.0.251 116 8/31/2026
4.0.250 82 8/31/2026
4.0.249 82 8/30/2026
4.0.248 126 8/30/2026
4.0.247 127 8/30/2026
Loading failed

Update dependency Soenneker.Hashing.XxHash to 4.0.87 (#517)