Soenneker.Telnyx.OpenApiClient
3.0.111
Prefix Reserved
dotnet add package Soenneker.Telnyx.OpenApiClient --version 3.0.111
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.111
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" Version="3.0.111" />
<PackageVersion Include="Soenneker.Telnyx.OpenApiClient" Version="3.0.111" />
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" />
paket add Soenneker.Telnyx.OpenApiClient --version 3.0.111
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.111"
#addin nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.111
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.111
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 | net9.0 is compatible. 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. |
-
net9.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.17.4)
- Microsoft.Kiota.Serialization.Form (>= 1.17.4)
- Microsoft.Kiota.Serialization.Json (>= 1.17.4)
- Microsoft.Kiota.Serialization.Multipart (>= 1.17.4)
- Microsoft.Kiota.Serialization.Text (>= 1.17.4)
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 |
---|---|---|
3.0.111 | 0 | 6/5/2025 |
3.0.110 | 80 | 6/2/2025 |
3.0.109 | 31 | 6/2/2025 |
3.0.108 | 38 | 6/2/2025 |
3.0.107 | 29 | 6/2/2025 |
3.0.106 | 30 | 6/2/2025 |
3.0.105 | 119 | 5/30/2025 |
3.0.104 | 116 | 5/29/2025 |
3.0.103 | 189 | 5/27/2025 |
3.0.102 | 124 | 5/23/2025 |
3.0.101 | 151 | 5/22/2025 |
3.0.100 | 158 | 5/22/2025 |
3.0.99 | 125 | 5/22/2025 |
3.0.98 | 194 | 5/20/2025 |
3.0.97 | 138 | 5/19/2025 |
3.0.96 | 125 | 5/17/2025 |
3.0.95 | 165 | 5/16/2025 |
3.0.94 | 229 | 5/15/2025 |
3.0.93 | 232 | 5/14/2025 |
3.0.92 | 237 | 5/13/2025 |
3.0.91 | 218 | 5/12/2025 |
3.0.90 | 111 | 5/10/2025 |
3.0.89 | 160 | 5/8/2025 |
3.0.88 | 131 | 5/7/2025 |
3.0.87 | 132 | 5/7/2025 |
3.0.86 | 152 | 5/5/2025 |
3.0.85 | 131 | 5/5/2025 |
3.0.84 | 129 | 5/5/2025 |
3.0.83 | 134 | 5/5/2025 |
3.0.82 | 82 | 5/2/2025 |
3.0.81 | 132 | 5/1/2025 |
3.0.80 | 132 | 4/30/2025 |
3.0.79 | 156 | 4/28/2025 |
3.0.78 | 88 | 4/25/2025 |
3.0.77 | 143 | 4/24/2025 |
3.0.76 | 149 | 4/22/2025 |
3.0.75 | 150 | 4/21/2025 |
3.0.74 | 125 | 4/18/2025 |
3.0.73 | 173 | 4/16/2025 |
3.0.72 | 195 | 4/15/2025 |
3.0.71 | 183 | 4/14/2025 |
3.0.70 | 98 | 4/11/2025 |
3.0.69 | 161 | 4/10/2025 |
3.0.68 | 139 | 4/8/2025 |
3.0.67 | 140 | 4/8/2025 |
3.0.66 | 153 | 4/8/2025 |
3.0.65 | 146 | 4/8/2025 |
3.0.64 | 161 | 4/8/2025 |
3.0.63 | 153 | 4/8/2025 |
3.0.62 | 150 | 4/8/2025 |
3.0.61 | 158 | 4/7/2025 |
3.0.60 | 159 | 4/7/2025 |
3.0.59 | 150 | 4/7/2025 |
3.0.58 | 152 | 4/7/2025 |
3.0.57 | 155 | 4/7/2025 |
3.0.56 | 149 | 4/7/2025 |
3.0.55 | 157 | 4/7/2025 |
3.0.54 | 154 | 4/6/2025 |
3.0.53 | 156 | 4/6/2025 |
3.0.52 | 161 | 4/6/2025 |
3.0.51 | 167 | 4/6/2025 |
3.0.50 | 136 | 4/6/2025 |
3.0.49 | 138 | 4/6/2025 |
3.0.48 | 136 | 4/6/2025 |
3.0.47 | 111 | 4/6/2025 |
3.0.46 | 79 | 4/5/2025 |
3.0.45 | 77 | 4/5/2025 |
3.0.44 | 86 | 4/5/2025 |
3.0.43 | 83 | 4/5/2025 |
3.0.42 | 83 | 4/5/2025 |
3.0.41 | 83 | 4/5/2025 |
3.0.40 | 87 | 4/5/2025 |
3.0.39 | 91 | 4/4/2025 |
3.0.38 | 109 | 4/4/2025 |
3.0.37 | 154 | 4/4/2025 |
3.0.36 | 161 | 4/3/2025 |
3.0.35 | 164 | 4/3/2025 |
3.0.34 | 155 | 4/3/2025 |
3.0.33 | 157 | 4/3/2025 |
3.0.32 | 161 | 4/3/2025 |
3.0.31 | 159 | 4/3/2025 |
3.0.30 | 160 | 4/3/2025 |
3.0.29 | 148 | 4/2/2025 |
3.0.28 | 150 | 4/1/2025 |
3.0.27 | 151 | 4/1/2025 |
3.0.26 | 154 | 4/1/2025 |
3.0.25 | 152 | 3/31/2025 |
3.0.24 | 146 | 3/31/2025 |
3.0.23 | 90 | 3/29/2025 |
3.0.22 | 120 | 3/28/2025 |
3.0.21 | 133 | 3/27/2025 |
3.0.20 | 454 | 3/26/2025 |
3.0.19 | 467 | 3/25/2025 |
3.0.18 | 469 | 3/25/2025 |
3.0.17 | 267 | 3/23/2025 |
3.0.16 | 89 | 3/21/2025 |
3.0.15 | 115 | 3/21/2025 |
3.0.14 | 132 | 3/21/2025 |
3.0.13 | 144 | 3/19/2025 |
3.0.12 | 135 | 3/18/2025 |
3.0.11 | 138 | 3/18/2025 |
3.0.10 | 65 | 3/15/2025 |
3.0.9 | 63 | 3/15/2025 |
3.0.8 | 91 | 3/14/2025 |
3.0.7 | 139 | 3/13/2025 |
3.0.6 | 147 | 3/12/2025 |
3.0.5 | 147 | 3/12/2025 |
3.0.4 | 143 | 3/12/2025 |
3.0.1 | 148 | 3/12/2025 |