Soenneker.Telnyx.OpenApiClient 4.0.237

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Telnyx.OpenApiClient --version 4.0.237
                    
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 4.0.237
                    
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.237" />
                    
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.237" />
                    
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.237
                    
#r "nuget: Soenneker.Telnyx.OpenApiClient, 4.0.237"
                    
#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.237
                    
#: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.237
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=4.0.237
                    
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.241 0 12/15/2025
4.0.240 48 12/13/2025
4.0.239 452 12/8/2025
4.0.238 114 12/6/2025
4.0.237 169 12/5/2025
4.0.236 185 12/4/2025
4.0.235 191 12/3/2025
4.0.234 684 12/2/2025
4.0.233 119 11/29/2025
4.0.232 127 11/28/2025
4.0.231 176 11/27/2025
4.0.230 171 11/26/2025
4.0.229 475 11/20/2025
4.0.228 445 11/17/2025
4.0.227 279 11/13/2025
4.0.226 278 11/12/2025
4.0.225 330 11/11/2025
4.0.224 288 11/10/2025
4.0.223 148 11/7/2025
4.0.222 257 11/6/2025
4.0.221 208 11/5/2025
4.0.220 190 11/4/2025
4.0.219 225 10/30/2025
4.0.218 257 10/29/2025
4.0.217 178 10/29/2025
3.0.216 247 10/28/2025
3.0.215 185 10/28/2025
3.0.214 193 10/28/2025
3.0.213 173 10/28/2025
3.0.212 179 10/28/2025
3.0.211 179 10/28/2025
3.0.210 166 10/25/2025
3.0.209 193 10/21/2025
3.0.208 183 10/16/2025
3.0.207 282 10/14/2025
3.0.206 194 10/9/2025
3.0.205 194 10/6/2025
3.0.204 197 10/2/2025
3.0.203 194 10/1/2025
3.0.202 198 9/30/2025
3.0.201 209 9/30/2025
3.0.200 159 9/30/2025
3.0.199 157 9/30/2025
3.0.198 172 9/29/2025
3.0.197 172 9/29/2025
3.0.196 204 9/29/2025
3.0.195 119 9/27/2025
3.0.194 174 9/25/2025
3.0.193 190 9/24/2025
3.0.192 195 9/23/2025
3.0.191 170 9/23/2025
3.0.190 165 9/23/2025
3.0.189 205 9/23/2025
3.0.188 149 9/23/2025
3.0.187 159 9/23/2025
3.0.186 172 9/22/2025
3.0.185 183 9/20/2025
3.0.184 248 9/19/2025
3.0.183 319 9/18/2025
3.0.182 301 9/17/2025
3.0.181 356 9/16/2025
3.0.180 266 9/15/2025
3.0.179 184 9/11/2025
3.0.178 210 9/9/2025
3.0.177 199 9/8/2025
3.0.176 359 9/3/2025
3.0.175 194 9/2/2025
3.0.174 179 9/1/2025
3.0.173 206 8/30/2025
3.0.172 208 8/30/2025
3.0.171 240 8/26/2025
3.0.170 187 8/25/2025
3.0.169 181 8/18/2025
3.0.168 180 8/15/2025
3.0.167 188 8/12/2025
3.0.166 153 8/12/2025
3.0.165 180 8/12/2025
3.0.164 162 8/12/2025
3.0.163 159 8/12/2025
3.0.162 252 8/11/2025
3.0.161 340 8/8/2025
3.0.160 249 8/7/2025
3.0.159 286 8/5/2025
3.0.158 302 8/4/2025
3.0.157 75 8/2/2025
3.0.156 84 8/1/2025
3.0.155 143 7/31/2025
3.0.154 135 7/30/2025
3.0.153 139 7/29/2025
3.0.152 238 7/26/2025
3.0.151 375 7/25/2025
3.0.150 522 7/24/2025
3.0.149 593 7/23/2025
3.0.148 207 7/17/2025
3.0.147 165 7/16/2025
3.0.146 197 7/15/2025
3.0.145 144 7/12/2025
3.0.144 205 7/10/2025
3.0.143 171 7/9/2025
3.0.142 310 7/8/2025
3.0.141 177 7/7/2025
3.0.140 285 7/3/2025
3.0.139 248 7/2/2025
3.0.138 215 7/1/2025
3.0.137 247 6/30/2025
3.0.136 264 6/27/2025
3.0.135 239 6/25/2025
3.0.134 216 6/23/2025
3.0.133 138 6/21/2025
3.0.132 136 6/20/2025
3.0.131 252 6/19/2025
3.0.130 218 6/18/2025
3.0.129 186 6/18/2025
3.0.128 203 6/18/2025
3.0.127 170 6/18/2025
3.0.126 175 6/18/2025
3.0.125 168 6/18/2025
3.0.124 211 6/17/2025
3.0.123 181 6/17/2025
3.0.122 179 6/15/2025
3.0.119 209 6/14/2025
3.0.118 218 6/14/2025
3.0.117 267 6/13/2025
3.0.116 325 6/12/2025
3.0.115 352 6/11/2025
3.0.114 380 6/10/2025
3.0.113 192 6/7/2025
3.0.112 135 6/6/2025
3.0.111 194 6/5/2025
3.0.110 241 6/2/2025
3.0.109 169 6/2/2025
3.0.108 180 6/2/2025
3.0.107 177 6/2/2025
3.0.106 164 6/2/2025
3.0.105 215 5/30/2025
3.0.104 187 5/29/2025
3.0.103 276 5/27/2025
3.0.102 197 5/23/2025
3.0.101 208 5/22/2025
3.0.100 228 5/22/2025
3.0.99 209 5/22/2025
3.0.98 259 5/20/2025
3.0.97 188 5/19/2025
3.0.96 210 5/17/2025
3.0.95 243 5/16/2025
3.0.94 287 5/15/2025
3.0.93 322 5/14/2025
3.0.92 316 5/13/2025
3.0.91 253 5/12/2025
3.0.90 199 5/10/2025
3.0.89 200 5/8/2025
3.0.88 180 5/7/2025
3.0.87 182 5/7/2025
3.0.86 209 5/5/2025
3.0.85 191 5/5/2025
3.0.84 173 5/5/2025
3.0.83 188 5/5/2025
3.0.82 119 5/2/2025
3.0.81 178 5/1/2025
3.0.80 208 4/30/2025
3.0.79 237 4/28/2025
3.0.78 132 4/25/2025
3.0.77 182 4/24/2025
3.0.76 192 4/22/2025
3.0.75 203 4/21/2025
3.0.74 169 4/18/2025
3.0.73 222 4/16/2025
3.0.72 245 4/15/2025
3.0.71 244 4/14/2025
3.0.70 157 4/11/2025
3.0.69 220 4/10/2025
3.0.68 180 4/8/2025
3.0.67 191 4/8/2025
3.0.66 199 4/8/2025
3.0.65 195 4/8/2025
3.0.64 220 4/8/2025
3.0.63 178 4/8/2025
3.0.62 196 4/8/2025
3.0.61 210 4/7/2025
3.0.60 202 4/7/2025
3.0.59 198 4/7/2025
3.0.58 202 4/7/2025
3.0.57 234 4/7/2025
3.0.56 198 4/7/2025
3.0.55 201 4/7/2025
3.0.54 201 4/6/2025
3.0.53 208 4/6/2025
3.0.52 224 4/6/2025
3.0.51 203 4/6/2025
3.0.50 211 4/6/2025
3.0.49 195 4/6/2025
3.0.48 215 4/6/2025
3.0.47 157 4/6/2025
3.0.46 129 4/5/2025
3.0.45 153 4/5/2025
3.0.44 124 4/5/2025
3.0.43 132 4/5/2025
3.0.42 133 4/5/2025
3.0.41 130 4/5/2025
3.0.40 138 4/5/2025
3.0.39 119 4/4/2025
3.0.38 179 4/4/2025
3.0.37 219 4/4/2025
3.0.36 201 4/3/2025
3.0.35 211 4/3/2025
3.0.34 200 4/3/2025
3.0.33 204 4/3/2025
3.0.32 209 4/3/2025
3.0.31 205 4/3/2025
3.0.30 209 4/3/2025
3.0.29 213 4/2/2025
3.0.28 198 4/1/2025
3.0.27 222 4/1/2025
3.0.26 200 4/1/2025
3.0.25 203 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 180 3/27/2025
3.0.20 498 3/26/2025
3.0.19 512 3/25/2025
3.0.18 514 3/25/2025
3.0.17 340 3/23/2025
3.0.16 136 3/21/2025
3.0.15 153 3/21/2025
3.0.14 201 3/21/2025
3.0.13 209 3/19/2025
3.0.12 170 3/18/2025
3.0.11 184 3/18/2025
3.0.10 134 3/15/2025
3.0.9 118 3/15/2025
3.0.8 158 3/14/2025
3.0.7 189 3/13/2025
3.0.6 191 3/12/2025
3.0.5 182 3/12/2025
3.0.4 188 3/12/2025
3.0.1 220 3/12/2025