Soenneker.Lemlist.OpenApiClientUtil 11.0.127

Prefix Reserved
dotnet add package Soenneker.Lemlist.OpenApiClientUtil --version 11.0.127
                    
NuGet\Install-Package Soenneker.Lemlist.OpenApiClientUtil -Version 11.0.127
                    
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.Lemlist.OpenApiClientUtil" Version="11.0.127" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Lemlist.OpenApiClientUtil" Version="11.0.127" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Lemlist.OpenApiClientUtil" />
                    
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.Lemlist.OpenApiClientUtil --version 11.0.127
                    
#r "nuget: Soenneker.Lemlist.OpenApiClientUtil, 11.0.127"
                    
#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.Lemlist.OpenApiClientUtil@11.0.127
                    
#: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.Lemlist.OpenApiClientUtil&version=11.0.127
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Lemlist.OpenApiClientUtil&version=11.0.127
                    
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.Lemlist.OpenApiClientUtil

Create and reuse an authenticated LemlistOpenApiClient over the shared Lemlist HTTP transport.

Install

dotnet add package Soenneker.Lemlist.OpenApiClientUtil

Configuration

{
  "Lemlist": {
    "ApiKey": "your-api-key"
  }
}

Set Lemlist:ClientBaseUrl only when the API should use a different base URL.

Usage

using Soenneker.Lemlist.OpenApiClientUtil.Abstract;
using Soenneker.Lemlist.OpenApiClientUtil.Registrars;

services.AddLemlistOpenApiClientUtilAsScoped();

ILemlistOpenApiClientUtil lemlist =
    serviceProvider.GetRequiredService<ILemlistOpenApiClientUtil>();

var client = await lemlist.Get(cancellationToken);
var campaigns = await client.Campaigns.GetAsync(cancellationToken: cancellationToken);

Get() creates the typed client on first use and returns the same instance for the utility's lifetime. The scoped registration intentionally keeps the underlying authenticated HTTP client singleton: a scope can release its typed utility without tearing down the transport shared by other scopes.

Use AddLemlistOpenApiClientUtilAsSingleton() when the typed client should also live for the application lifetime.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.127 0 10/26/2026
11.0.126 0 10/26/2026
4.0.125 49 10/22/2026
4.0.124 48 10/21/2026
4.0.123 89 10/15/2026
4.0.122 85 10/15/2026
4.0.121 94 10/14/2026
4.0.120 78 10/14/2026
4.0.118 86 10/14/2026
4.0.117 78 10/14/2026
4.0.116 85 10/14/2026
4.0.109 85 10/13/2026
4.0.107 81 10/12/2026
4.0.106 94 10/11/2026
4.0.105 92 10/11/2026
4.0.104 92 10/11/2026
4.0.103 100 10/10/2026
4.0.102 97 10/10/2026
4.0.101 106 10/7/2026
4.0.100 97 10/7/2026
Loading failed

Update dependency Soenneker.Lemlist.HttpClients to v11 (#108)