Soenneker.Telnyx.OpenApiClient 4.0.230

Prefix Reserved
dotnet add package Soenneker.Telnyx.OpenApiClient --version 4.0.230
                    
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 4.0.230
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" Version="4.0.230" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Telnyx.OpenApiClient" Version="4.0.230" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Telnyx.OpenApiClient --version 4.0.230
                    
#r "nuget: Soenneker.Telnyx.OpenApiClient, 4.0.230"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Telnyx.OpenApiClient@4.0.230
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.230
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.230
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.230 19 11/26/2025
4.0.229 438 11/20/2025
4.0.228 438 11/17/2025
4.0.227 273 11/13/2025
4.0.226 272 11/12/2025
4.0.225 324 11/11/2025
4.0.224 280 11/10/2025
4.0.223 143 11/7/2025
4.0.222 251 11/6/2025
4.0.221 204 11/5/2025
4.0.220 187 11/4/2025
4.0.219 222 10/30/2025
4.0.218 251 10/29/2025
4.0.217 175 10/29/2025
3.0.216 242 10/28/2025
3.0.215 181 10/28/2025
3.0.214 190 10/28/2025
3.0.213 170 10/28/2025
3.0.212 173 10/28/2025
3.0.211 174 10/28/2025
3.0.210 164 10/25/2025
3.0.209 191 10/21/2025
3.0.208 180 10/16/2025
3.0.207 275 10/14/2025
3.0.206 187 10/9/2025
3.0.205 191 10/6/2025
3.0.204 193 10/2/2025
3.0.203 190 10/1/2025
3.0.202 193 9/30/2025
3.0.201 207 9/30/2025
3.0.200 157 9/30/2025
3.0.199 152 9/30/2025
3.0.198 170 9/29/2025
3.0.197 168 9/29/2025
3.0.196 200 9/29/2025
3.0.195 116 9/27/2025
3.0.194 172 9/25/2025
3.0.193 186 9/24/2025
3.0.192 192 9/23/2025
3.0.191 168 9/23/2025
3.0.190 162 9/23/2025
3.0.189 203 9/23/2025
3.0.188 146 9/23/2025
3.0.187 154 9/23/2025
3.0.186 170 9/22/2025
3.0.185 181 9/20/2025
3.0.184 244 9/19/2025
3.0.183 317 9/18/2025
3.0.182 299 9/17/2025
3.0.181 352 9/16/2025
3.0.180 265 9/15/2025
3.0.179 180 9/11/2025
3.0.178 206 9/9/2025
3.0.177 198 9/8/2025
3.0.176 355 9/3/2025
3.0.175 193 9/2/2025
3.0.174 178 9/1/2025
3.0.173 204 8/30/2025
3.0.172 205 8/30/2025
3.0.171 238 8/26/2025
3.0.170 185 8/25/2025
3.0.169 177 8/18/2025
3.0.168 179 8/15/2025
3.0.167 186 8/12/2025
3.0.166 148 8/12/2025
3.0.165 178 8/12/2025
3.0.164 160 8/12/2025
3.0.163 158 8/12/2025
3.0.162 249 8/11/2025
3.0.161 339 8/8/2025
3.0.160 248 8/7/2025
3.0.159 284 8/5/2025
3.0.158 298 8/4/2025
3.0.157 72 8/2/2025
3.0.156 83 8/1/2025
3.0.155 141 7/31/2025
3.0.154 134 7/30/2025
3.0.153 138 7/29/2025
3.0.152 233 7/26/2025
3.0.151 374 7/25/2025
3.0.150 519 7/24/2025
3.0.149 590 7/23/2025
3.0.148 205 7/17/2025
3.0.147 164 7/16/2025
3.0.146 194 7/15/2025
3.0.145 142 7/12/2025
3.0.144 201 7/10/2025
3.0.143 167 7/9/2025
3.0.142 308 7/8/2025
3.0.141 176 7/7/2025
3.0.140 283 7/3/2025
3.0.139 247 7/2/2025
3.0.138 213 7/1/2025
3.0.137 244 6/30/2025
3.0.136 262 6/27/2025
3.0.135 237 6/25/2025
3.0.134 213 6/23/2025
3.0.133 135 6/21/2025
3.0.132 132 6/20/2025
3.0.131 248 6/19/2025
3.0.130 215 6/18/2025
3.0.129 183 6/18/2025
3.0.128 200 6/18/2025
3.0.127 166 6/18/2025
3.0.126 172 6/18/2025
3.0.125 167 6/18/2025
3.0.124 209 6/17/2025
3.0.123 179 6/17/2025
3.0.122 177 6/15/2025
3.0.119 205 6/14/2025
3.0.118 216 6/14/2025
3.0.117 264 6/13/2025
3.0.116 324 6/12/2025
3.0.115 347 6/11/2025
3.0.114 378 6/10/2025
3.0.113 190 6/7/2025
3.0.112 134 6/6/2025
3.0.111 191 6/5/2025
3.0.110 240 6/2/2025
3.0.109 168 6/2/2025
3.0.108 177 6/2/2025
3.0.107 173 6/2/2025
3.0.106 162 6/2/2025
3.0.105 214 5/30/2025
3.0.104 185 5/29/2025
3.0.103 274 5/27/2025
3.0.102 191 5/23/2025
3.0.101 207 5/22/2025
3.0.100 226 5/22/2025
3.0.99 205 5/22/2025
3.0.98 258 5/20/2025
3.0.97 186 5/19/2025
3.0.96 208 5/17/2025
3.0.95 240 5/16/2025
3.0.94 285 5/15/2025
3.0.93 319 5/14/2025
3.0.92 316 5/13/2025
3.0.91 251 5/12/2025
3.0.90 198 5/10/2025
3.0.89 198 5/8/2025
3.0.88 178 5/7/2025
3.0.87 180 5/7/2025
3.0.86 207 5/5/2025
3.0.85 191 5/5/2025
3.0.84 171 5/5/2025
3.0.83 186 5/5/2025
3.0.82 118 5/2/2025
3.0.81 177 5/1/2025
3.0.80 204 4/30/2025
3.0.79 235 4/28/2025
3.0.78 131 4/25/2025
3.0.77 180 4/24/2025
3.0.76 190 4/22/2025
3.0.75 198 4/21/2025
3.0.74 168 4/18/2025
3.0.73 220 4/16/2025
3.0.72 243 4/15/2025
3.0.71 243 4/14/2025
3.0.70 156 4/11/2025
3.0.69 215 4/10/2025
3.0.68 177 4/8/2025
3.0.67 188 4/8/2025
3.0.66 197 4/8/2025
3.0.65 192 4/8/2025
3.0.64 218 4/8/2025
3.0.63 177 4/8/2025
3.0.62 195 4/8/2025
3.0.61 209 4/7/2025
3.0.60 201 4/7/2025
3.0.59 197 4/7/2025
3.0.58 200 4/7/2025
3.0.57 231 4/7/2025
3.0.56 198 4/7/2025
3.0.55 201 4/7/2025
3.0.54 199 4/6/2025
3.0.53 208 4/6/2025
3.0.52 223 4/6/2025
3.0.51 202 4/6/2025
3.0.50 211 4/6/2025
3.0.49 194 4/6/2025
3.0.48 213 4/6/2025
3.0.47 157 4/6/2025
3.0.46 127 4/5/2025
3.0.45 151 4/5/2025
3.0.44 122 4/5/2025
3.0.43 130 4/5/2025
3.0.42 130 4/5/2025
3.0.41 127 4/5/2025
3.0.40 137 4/5/2025
3.0.39 117 4/4/2025
3.0.38 176 4/4/2025
3.0.37 218 4/4/2025
3.0.36 200 4/3/2025
3.0.35 210 4/3/2025
3.0.34 200 4/3/2025
3.0.33 204 4/3/2025
3.0.32 206 4/3/2025
3.0.31 203 4/3/2025
3.0.30 208 4/3/2025
3.0.29 211 4/2/2025
3.0.28 193 4/1/2025
3.0.27 221 4/1/2025
3.0.26 197 4/1/2025
3.0.25 202 3/31/2025
3.0.24 193 3/31/2025
3.0.23 134 3/29/2025
3.0.22 163 3/28/2025
3.0.21 177 3/27/2025
3.0.20 497 3/26/2025
3.0.19 509 3/25/2025
3.0.18 513 3/25/2025
3.0.17 337 3/23/2025
3.0.16 133 3/21/2025
3.0.15 150 3/21/2025
3.0.14 196 3/21/2025
3.0.13 208 3/19/2025
3.0.12 168 3/18/2025
3.0.11 183 3/18/2025
3.0.10 132 3/15/2025
3.0.9 117 3/15/2025
3.0.8 157 3/14/2025
3.0.7 185 3/13/2025
3.0.6 189 3/12/2025
3.0.5 178 3/12/2025
3.0.4 187 3/12/2025
3.0.1 218 3/12/2025