Soenneker.Telnyx.OpenApiClient
3.0.136
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Telnyx.OpenApiClient --version 3.0.136
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.136
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" Version="3.0.136" />
<PackageVersion Include="Soenneker.Telnyx.OpenApiClient" Version="3.0.136" />
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" />
paket add Soenneker.Telnyx.OpenApiClient --version 3.0.136
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.136"
#:package Soenneker.Telnyx.OpenApiClient@3.0.136
#addin nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.136
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.136
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.19.0)
- Microsoft.Kiota.Serialization.Form (>= 1.19.0)
- Microsoft.Kiota.Serialization.Json (>= 1.19.0)
- Microsoft.Kiota.Serialization.Multipart (>= 1.19.0)
- Microsoft.Kiota.Serialization.Text (>= 1.19.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 |
---|---|---|
3.0.148 | 0 | 7/17/2025 |
3.0.147 | 55 | 7/16/2025 |
3.0.146 | 71 | 7/15/2025 |
3.0.145 | 65 | 7/12/2025 |
3.0.144 | 152 | 7/10/2025 |
3.0.143 | 130 | 7/9/2025 |
3.0.142 | 219 | 7/8/2025 |
3.0.141 | 138 | 7/7/2025 |
3.0.140 | 223 | 7/3/2025 |
3.0.139 | 197 | 7/2/2025 |
3.0.138 | 160 | 7/1/2025 |
3.0.137 | 205 | 6/30/2025 |
3.0.136 | 142 | 6/27/2025 |
3.0.135 | 156 | 6/25/2025 |
3.0.134 | 160 | 6/23/2025 |
3.0.133 | 92 | 6/21/2025 |
3.0.132 | 86 | 6/20/2025 |
3.0.131 | 206 | 6/19/2025 |
3.0.130 | 171 | 6/18/2025 |
3.0.129 | 133 | 6/18/2025 |
3.0.128 | 147 | 6/18/2025 |
3.0.127 | 127 | 6/18/2025 |
3.0.126 | 134 | 6/18/2025 |
3.0.125 | 127 | 6/18/2025 |
3.0.124 | 156 | 6/17/2025 |
3.0.123 | 134 | 6/17/2025 |
3.0.122 | 142 | 6/15/2025 |
3.0.119 | 165 | 6/14/2025 |
3.0.118 | 174 | 6/14/2025 |
3.0.117 | 218 | 6/13/2025 |
3.0.116 | 288 | 6/12/2025 |
3.0.115 | 308 | 6/11/2025 |
3.0.114 | 312 | 6/10/2025 |
3.0.113 | 138 | 6/7/2025 |
3.0.112 | 88 | 6/6/2025 |
3.0.111 | 141 | 6/5/2025 |
3.0.110 | 192 | 6/2/2025 |
3.0.109 | 131 | 6/2/2025 |
3.0.108 | 142 | 6/2/2025 |
3.0.107 | 136 | 6/2/2025 |
3.0.106 | 134 | 6/2/2025 |
3.0.105 | 151 | 5/30/2025 |
3.0.104 | 142 | 5/29/2025 |
3.0.103 | 197 | 5/27/2025 |
3.0.102 | 130 | 5/23/2025 |
3.0.101 | 160 | 5/22/2025 |
3.0.100 | 168 | 5/22/2025 |
3.0.99 | 136 | 5/22/2025 |
3.0.98 | 199 | 5/20/2025 |
3.0.97 | 143 | 5/19/2025 |
3.0.96 | 137 | 5/17/2025 |
3.0.95 | 180 | 5/16/2025 |
3.0.94 | 234 | 5/15/2025 |
3.0.93 | 244 | 5/14/2025 |
3.0.92 | 251 | 5/13/2025 |
3.0.91 | 225 | 5/12/2025 |
3.0.90 | 125 | 5/10/2025 |
3.0.89 | 169 | 5/8/2025 |
3.0.88 | 141 | 5/7/2025 |
3.0.87 | 141 | 5/7/2025 |
3.0.86 | 161 | 5/5/2025 |
3.0.85 | 145 | 5/5/2025 |
3.0.84 | 138 | 5/5/2025 |
3.0.83 | 146 | 5/5/2025 |
3.0.82 | 91 | 5/2/2025 |
3.0.81 | 142 | 5/1/2025 |
3.0.80 | 144 | 4/30/2025 |
3.0.79 | 178 | 4/28/2025 |
3.0.78 | 97 | 4/25/2025 |
3.0.77 | 151 | 4/24/2025 |
3.0.76 | 158 | 4/22/2025 |
3.0.75 | 159 | 4/21/2025 |
3.0.74 | 137 | 4/18/2025 |
3.0.73 | 184 | 4/16/2025 |
3.0.72 | 209 | 4/15/2025 |
3.0.71 | 195 | 4/14/2025 |
3.0.70 | 114 | 4/11/2025 |
3.0.69 | 171 | 4/10/2025 |
3.0.68 | 150 | 4/8/2025 |
3.0.67 | 151 | 4/8/2025 |
3.0.66 | 164 | 4/8/2025 |
3.0.65 | 159 | 4/8/2025 |
3.0.64 | 174 | 4/8/2025 |
3.0.63 | 163 | 4/8/2025 |
3.0.62 | 161 | 4/8/2025 |
3.0.61 | 170 | 4/7/2025 |
3.0.60 | 170 | 4/7/2025 |
3.0.59 | 160 | 4/7/2025 |
3.0.58 | 163 | 4/7/2025 |
3.0.57 | 172 | 4/7/2025 |
3.0.56 | 160 | 4/7/2025 |
3.0.55 | 168 | 4/7/2025 |
3.0.54 | 164 | 4/6/2025 |
3.0.53 | 165 | 4/6/2025 |
3.0.52 | 175 | 4/6/2025 |
3.0.51 | 178 | 4/6/2025 |
3.0.50 | 153 | 4/6/2025 |
3.0.49 | 156 | 4/6/2025 |
3.0.48 | 157 | 4/6/2025 |
3.0.47 | 120 | 4/6/2025 |
3.0.46 | 88 | 4/5/2025 |
3.0.45 | 93 | 4/5/2025 |
3.0.44 | 95 | 4/5/2025 |
3.0.43 | 91 | 4/5/2025 |
3.0.42 | 93 | 4/5/2025 |
3.0.41 | 95 | 4/5/2025 |
3.0.40 | 96 | 4/5/2025 |
3.0.39 | 100 | 4/4/2025 |
3.0.38 | 122 | 4/4/2025 |
3.0.37 | 166 | 4/4/2025 |
3.0.36 | 170 | 4/3/2025 |
3.0.35 | 173 | 4/3/2025 |
3.0.34 | 165 | 4/3/2025 |
3.0.33 | 167 | 4/3/2025 |
3.0.32 | 169 | 4/3/2025 |
3.0.31 | 169 | 4/3/2025 |
3.0.30 | 170 | 4/3/2025 |
3.0.29 | 168 | 4/2/2025 |
3.0.28 | 158 | 4/1/2025 |
3.0.27 | 167 | 4/1/2025 |
3.0.26 | 161 | 4/1/2025 |
3.0.25 | 161 | 3/31/2025 |
3.0.24 | 156 | 3/31/2025 |
3.0.23 | 99 | 3/29/2025 |
3.0.22 | 128 | 3/28/2025 |
3.0.21 | 140 | 3/27/2025 |
3.0.20 | 462 | 3/26/2025 |
3.0.19 | 473 | 3/25/2025 |
3.0.18 | 479 | 3/25/2025 |
3.0.17 | 282 | 3/23/2025 |
3.0.16 | 96 | 3/21/2025 |
3.0.15 | 123 | 3/21/2025 |
3.0.14 | 141 | 3/21/2025 |
3.0.13 | 157 | 3/19/2025 |
3.0.12 | 141 | 3/18/2025 |
3.0.11 | 145 | 3/18/2025 |
3.0.10 | 78 | 3/15/2025 |
3.0.9 | 70 | 3/15/2025 |
3.0.8 | 105 | 3/14/2025 |
3.0.7 | 148 | 3/13/2025 |
3.0.6 | 157 | 3/12/2025 |
3.0.5 | 154 | 3/12/2025 |
3.0.4 | 148 | 3/12/2025 |
3.0.1 | 164 | 3/12/2025 |