Soenneker.HighLevel.Client 4.0.254

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.254
                    
NuGet\Install-Package Soenneker.HighLevel.Client -Version 4.0.254
                    
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.254" />
                    
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.254" />
                    
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.254
                    
#r "nuget: Soenneker.HighLevel.Client, 4.0.254"
                    
#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.254
                    
#: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.254
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.HighLevel.Client&version=4.0.254
                    
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.257 50 9/1/2026
4.0.256 61 8/31/2026
4.0.255 59 8/31/2026
4.0.254 51 8/31/2026
4.0.253 45 8/31/2026
4.0.252 46 8/31/2026
4.0.251 70 8/31/2026
4.0.250 48 8/31/2026
4.0.249 51 8/30/2026
4.0.248 81 8/30/2026
4.0.247 78 8/30/2026
4.0.246 53 8/29/2026
4.0.245 59 8/29/2026
4.0.244 137 8/26/2026
4.0.243 109 8/26/2026
4.0.242 119 8/26/2026
4.0.241 95 8/25/2026
4.0.240 132 8/22/2026
4.0.239 122 8/21/2026
4.0.238 83 8/21/2026
Loading failed

Updated NuGet packages