Soenneker.Telnyx.OpenApiClient
4.0.409
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Telnyx.OpenApiClient --version 4.0.409
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 4.0.409
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" Version="4.0.409" />
<PackageVersion Include="Soenneker.Telnyx.OpenApiClient" Version="4.0.409" />
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" />
paket add Soenneker.Telnyx.OpenApiClient --version 4.0.409
#r "nuget: Soenneker.Telnyx.OpenApiClient, 4.0.409"
#:package Soenneker.Telnyx.OpenApiClient@4.0.409
#addin nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.409
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.409
Soenneker.Telnyx.OpenApiClient
A Telnyx .NET client generated from the Telnyx OpenAPI schema, updated daily
Installation
dotnet add package Soenneker.Telnyx.OpenApiClient
Soenneker.Telnyx.OpenApiClient
Overview
Soenneker.Telnyx.OpenApiClient is a .NET SDK generated using Kiota that provides a client interface for interacting with the Telnyx OpenAPI. The client is automatically updated daily from the official Telnyx OpenAPI specification.
Installation
Install the package via NuGet:
dotnet add package Soenneker.Telnyx.OpenApiClient
Setup
To use this SDK, you'll need a Telnyx API Key. You can obtain one from the Telnyx Portal.
Creating a Client Instance
var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "your_access_token_here");
// Use a null authentication provider since we're setting headers manually
var requestAdapter = new HttpClientRequestAdapter(null, httpClient: httpClient);
// Create a Telnyx API client instance
var client = new TelnyxOpenApiClient(requestAdapter);
Making a Call
To initiate a call using Telnyx, you can use the Calls API:
using System.Threading.Tasks;
public async Task MakeCall()
{
var callRequest = new {
connection_id = "your_connection_id",
to = "+15558675309", // The destination phone number
from = "+15551234567" // Your Telnyx phone number
};
var response = await client.Calls.PostAsync(callRequest);
if (response != null)
{
Console.WriteLine("Call initiated successfully!");
}
}
Sending a Message
var messageRequest = new {
from = "+15551234567", // Your Telnyx number
to = "+15558675309", // Destination number
text = "Hello from Telnyx!"
};
var response = await client.Messages.PostAsync(messageRequest);
Console.WriteLine("Message sent successfully!");
| Product | Versions 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. |
-
net10.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 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 (1)
Showing the top 1 NuGet packages that depend on Soenneker.Telnyx.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Telnyx.ClientUtil
Provide a reusable generated client for Telnyx's REST API. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.441 | 0 | 10/10/2026 |
| 4.0.440 | 279 | 10/2/2026 |
| 4.0.439 | 137 | 10/1/2026 |
| 4.0.438 | 296 | 9/28/2026 |
| 4.0.437 | 125 | 9/26/2026 |
| 4.0.436 | 161 | 9/25/2026 |
| 4.0.435 | 163 | 9/24/2026 |
| 4.0.434 | 98 | 9/24/2026 |
| 4.0.433 | 153 | 9/23/2026 |
| 4.0.432 | 140 | 9/22/2026 |
| 4.0.431 | 218 | 9/21/2026 |
| 4.0.430 | 193 | 9/18/2026 |
| 4.0.426 | 272 | 9/15/2026 |
| 4.0.425 | 283 | 9/12/2026 |
| 4.0.424 | 346 | 9/8/2026 |
| 4.0.423 | 133 | 9/8/2026 |
| 4.0.422 | 106 | 9/8/2026 |
| 4.0.421 | 392 | 9/4/2026 |
| 4.0.420 | 329 | 9/3/2026 |
| 4.0.409 | 108 | 8/15/2026 |
Automated update