Soenneker.Lemlist.OpenApiClient 4.0.60

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

A Kiota-generated .NET client for Lemlist's API, including typed request builders, models, query parameters, and API error responses.

Install

dotnet add package Soenneker.Lemlist.OpenApiClient

Direct usage

using System.Net.Http.Headers;
using System.Text;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Lemlist.OpenApiClient;

var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
    "Basic",
    Convert.ToBase64String(Encoding.UTF8.GetBytes($":{apiKey}")));

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient);

var lemlist = new LemlistOpenApiClient(adapter);

var campaigns = await lemlist.Campaigns.GetAsync(request =>
{
    request.QueryParameters.Limit = 25;
    request.QueryParameters.Page = 1;
}, cancellationToken);

Lemlist uses HTTP Basic authentication with an empty username and the API key as the password. Reuse the HttpClient, request adapter, and LemlistOpenApiClient rather than creating them per request.

API failures are exposed as the generated endpoint-specific error types listed on each request method. Because this package is regenerated from Lemlist's OpenAPI document, generated names and models can change when the upstream specification changes.

For application registration and managed client reuse, use Soenneker.Lemlist.OpenApiClientUtil with Soenneker.Lemlist.HttpClients.

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.Lemlist.OpenApiClient:

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
4.0.60 50 10/21/2026
4.0.59 98 10/20/2026
4.0.58 85 10/19/2026
4.0.57 102 10/15/2026
4.0.56 104 10/15/2026
4.0.55 120 10/14/2026
4.0.54 107 10/14/2026
4.0.48 107 10/13/2026
4.0.47 84 10/13/2026
4.0.46 107 10/12/2026
4.0.45 128 10/11/2026
4.0.44 96 10/10/2026
4.0.43 130 10/9/2026
4.0.42 123 10/7/2026
4.0.41 114 10/6/2026
4.0.40 111 10/5/2026
4.0.39 114 10/1/2026
4.0.38 136 9/29/2026
4.0.37 140 9/28/2026
4.0.36 121 9/25/2026
Loading failed

Update Soenneker.Lemlist.OpenApiClient