Leadping.OpenApiClient
1.0.35
dotnet add package Leadping.OpenApiClient --version 1.0.35
NuGet\Install-Package Leadping.OpenApiClient -Version 1.0.35
<PackageReference Include="Leadping.OpenApiClient" Version="1.0.35" />
<PackageVersion Include="Leadping.OpenApiClient" Version="1.0.35" />
<PackageReference Include="Leadping.OpenApiClient" />
paket add Leadping.OpenApiClient --version 1.0.35
#r "nuget: Leadping.OpenApiClient, 1.0.35"
#:package Leadping.OpenApiClient@1.0.35
#addin nuget:?package=Leadping.OpenApiClient&version=1.0.35
#tool nuget:?package=Leadping.OpenApiClient&version=1.0.35
Leadping .NET SDK
The official, type-safe .NET SDK for the Leadping API. Use it to integrate lead management, conversations, SMS and calling, automations, reporting, billing, and business settings into .NET applications.
The package is generated from the Leadping OpenAPI specification with Microsoft Kiota. It contains request builders and models; your application supplies the HTTP request adapter, credentials, retry policy, and credential storage.
Installation
Install the SDK and Kiota's HttpClient transport:
dotnet add package Leadping.OpenApiClient
dotnet add package Microsoft.Kiota.Http.HttpClientLibrary
Authentication
Set LEADPING_API_KEY to a WorkOS organization API key (sk_...). The SDK sends it as Authorization: Bearer <credential>. User access tokens are also supported when acting for a signed-in user; lp_src_... keys are only for lead-ingestion endpoints. See API authentication.
Create a client
Kiota includes an API-key authentication provider that can place the complete Bearer value in the Authorization header:
using Leadping.OpenApiClient;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
var credential = Environment.GetEnvironmentVariable("LEADPING_API_KEY")
?? throw new InvalidOperationException("LEADPING_API_KEY is not set.");
var authProvider = new ApiKeyAuthenticationProvider(
$"Bearer {credential}",
"Authorization",
ApiKeyAuthenticationProvider.KeyLocation.Header,
["api.leadping.ai"]);
var adapter = new HttpClientRequestAdapter(authProvider);
var client = new LeadpingOpenApiClient(adapter);
The client defaults to https://api.leadping.ai.
Common operations
Request builders mirror the API path. Indexers select a resource ID; terminal methods send the request.
// Requires a user access token.
var currentUser = await client.Users.Me.GetAsync(cancellationToken: cancellationToken);
// Retrieve organization resources by ID.
var source = await client.Sources["source-id"]
.GetAsync(cancellationToken: cancellationToken);
var lead = await client.Leads["lead-id"]
.GetAsync(cancellationToken: cancellationToken);
Create and update operations accept models from Leadping.OpenApiClient.Models. Generated methods also accept request configuration and a CancellationToken.
Resources
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Microsoft.Kiota.Abstractions (>= 2.0.0)
- Microsoft.Kiota.Serialization.Form (>= 2.0.0)
- Microsoft.Kiota.Serialization.Json (>= 2.0.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.0.0)
- Microsoft.Kiota.Serialization.Text (>= 2.0.0)
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 |
|---|---|---|
| 1.0.35 | 55 | 8/11/2026 |
| 1.0.34 | 49 | 8/11/2026 |
| 1.0.33 | 55 | 8/11/2026 |
| 1.0.32 | 60 | 8/10/2026 |
| 1.0.31 | 60 | 8/8/2026 |
| 1.0.30 | 93 | 8/4/2026 |
| 1.0.29 | 94 | 8/3/2026 |
| 1.0.28 | 92 | 7/28/2026 |
| 1.0.27 | 98 | 7/27/2026 |
| 1.0.26 | 102 | 7/27/2026 |
| 1.0.25 | 91 | 7/24/2026 |
| 1.0.24 | 93 | 7/23/2026 |
| 1.0.23 | 77 | 7/21/2026 |
| 1.0.22 | 97 | 7/20/2026 |
| 1.0.21 | 97 | 7/17/2026 |
| 1.0.20 | 92 | 7/17/2026 |
| 1.0.19 | 96 | 7/17/2026 |
| 1.0.18 | 94 | 7/16/2026 |
| 1.0.17 | 94 | 7/15/2026 |
| 1.0.16 | 96 | 7/12/2026 |