Soenneker.Lemlist.HttpClients
11.0.87
Prefix Reserved
dotnet add package Soenneker.Lemlist.HttpClients --version 11.0.87
NuGet\Install-Package Soenneker.Lemlist.HttpClients -Version 11.0.87
<PackageReference Include="Soenneker.Lemlist.HttpClients" Version="11.0.87" />
<PackageVersion Include="Soenneker.Lemlist.HttpClients" Version="11.0.87" />
<PackageReference Include="Soenneker.Lemlist.HttpClients" />
paket add Soenneker.Lemlist.HttpClients --version 11.0.87
#r "nuget: Soenneker.Lemlist.HttpClients, 11.0.87"
#:package Soenneker.Lemlist.HttpClients@11.0.87
#addin nuget:?package=Soenneker.Lemlist.HttpClients&version=11.0.87
#tool nuget:?package=Soenneker.Lemlist.HttpClients&version=11.0.87
Soenneker.Lemlist.HttpClients
A cached HttpClient configured for Lemlist's API and API-key authentication.
Install
dotnet add package Soenneker.Lemlist.HttpClients
Configuration
{
"Lemlist": {
"ApiKey": "your-api-key"
}
}
Set Lemlist:ClientBaseUrl to override the default Lemlist API URL, such as when using a test server.
Usage
using Soenneker.Lemlist.HttpClients.Abstract;
using Soenneker.Lemlist.HttpClients.Registrars;
services.AddLemlistOpenApiHttpClientAsSingleton();
ILemlistOpenApiHttpClient lemlist =
serviceProvider.GetRequiredService<ILemlistOpenApiHttpClient>();
HttpClient client = await lemlist.Get(cancellationToken);
HttpResponseMessage response = await client.GetAsync("campaigns", cancellationToken);
Get() reuses the cached client and applies Lemlist's Basic authentication format. The API key is the password and the username is empty.
The singleton registration shares one client for the application. The scoped registration keeps both the wrapper and its cache within the scope, so disposing one scope cannot evict another scope's client.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.914)
- Soenneker.Utils.HttpClientCache (>= 11.0.2139)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Lemlist.HttpClients:
| Package | Downloads |
|---|---|
|
Soenneker.Lemlist.OpenApiClientUtil
Creates and reuses an authenticated Lemlist generated client over the shared HTTP transport |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.87 | 0 | 10/27/2026 |
| 11.0.86 | 0 | 10/27/2026 |
| 11.0.85 | 7 | 10/26/2026 |
| 11.0.84 | 30 | 10/26/2026 |
| 11.0.83 | 44 | 10/26/2026 |
| 4.0.82 | 149 | 10/15/2026 |
| 4.0.81 | 86 | 10/15/2026 |
| 4.0.79 | 98 | 10/14/2026 |
| 4.0.78 | 84 | 10/14/2026 |
| 4.0.77 | 97 | 10/14/2026 |
| 4.0.76 | 111 | 10/14/2026 |
| 4.0.70 | 101 | 10/13/2026 |
| 4.0.69 | 83 | 10/13/2026 |
| 4.0.66 | 111 | 10/12/2026 |
| 4.0.65 | 124 | 10/11/2026 |
| 4.0.64 | 93 | 10/11/2026 |
| 4.0.63 | 150 | 10/9/2026 |
| 4.0.62 | 169 | 10/1/2026 |
| 4.0.61 | 132 | 9/29/2026 |
| 4.0.60 | 117 | 9/29/2026 |
Remove redundant framework conditions