Soenneker.Telnyx.OpenApiClient
4.0.414
Prefix Reserved
dotnet add package Soenneker.Telnyx.OpenApiClient --version 4.0.414
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 4.0.414
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" Version="4.0.414" />
<PackageVersion Include="Soenneker.Telnyx.OpenApiClient" Version="4.0.414" />
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" />
paket add Soenneker.Telnyx.OpenApiClient --version 4.0.414
#r "nuget: Soenneker.Telnyx.OpenApiClient, 4.0.414"
#:package Soenneker.Telnyx.OpenApiClient@4.0.414
#addin nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.414
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.414
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
An async thread-safe singleton for the Telnyx OpenApiClient |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.414 | 0 | 8/17/2026 |
| 4.0.413 | 62 | 8/16/2026 |
| 4.0.412 | 75 | 8/15/2026 |
| 4.0.411 | 45 | 8/15/2026 |
| 4.0.410 | 55 | 8/15/2026 |
| 4.0.409 | 41 | 8/15/2026 |
| 4.0.408 | 94 | 8/13/2026 |
| 4.0.407 | 103 | 8/12/2026 |
| 4.0.406 | 255 | 8/8/2026 |
| 4.0.405 | 305 | 8/5/2026 |
| 4.0.404 | 134 | 8/4/2026 |
| 4.0.403 | 167 | 7/31/2026 |
| 4.0.402 | 116 | 7/30/2026 |
| 4.0.401 | 124 | 7/30/2026 |
| 4.0.400 | 147 | 7/29/2026 |
| 4.0.399 | 169 | 7/28/2026 |
| 4.0.398 | 216 | 7/27/2026 |
| 4.0.397 | 152 | 7/25/2026 |
| 4.0.396 | 140 | 7/24/2026 |
| 4.0.395 | 154 | 7/23/2026 |
Automated update