Soenneker.Telnyx.OpenApiClient 3.0.210

Prefix Reserved
dotnet add package Soenneker.Telnyx.OpenApiClient --version 3.0.210
                    
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.210
                    
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="3.0.210" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Telnyx.OpenApiClient" Version="3.0.210" />
                    
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 3.0.210
                    
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.210"
                    
#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@3.0.210
                    
#: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=3.0.210
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.210
                    
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 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. 
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
3.0.210 41 10/25/2025
3.0.209 163 10/21/2025
3.0.208 169 10/16/2025
3.0.207 266 10/14/2025
3.0.206 176 10/9/2025
3.0.205 182 10/6/2025
3.0.204 184 10/2/2025
3.0.203 181 10/1/2025
3.0.202 185 9/30/2025
3.0.201 199 9/30/2025
3.0.200 149 9/30/2025
3.0.199 142 9/30/2025
3.0.198 161 9/29/2025
3.0.197 161 9/29/2025
3.0.196 189 9/29/2025
3.0.195 108 9/27/2025
3.0.194 166 9/25/2025
3.0.193 177 9/24/2025
3.0.192 182 9/23/2025
3.0.191 158 9/23/2025
3.0.190 155 9/23/2025
3.0.189 194 9/23/2025
3.0.188 139 9/23/2025
3.0.187 147 9/23/2025
3.0.186 164 9/22/2025
3.0.185 174 9/20/2025
3.0.184 237 9/19/2025
3.0.183 309 9/18/2025
3.0.182 293 9/17/2025
3.0.181 333 9/16/2025
3.0.180 256 9/15/2025
3.0.179 170 9/11/2025
3.0.178 187 9/9/2025
3.0.177 179 9/8/2025
3.0.176 310 9/3/2025
3.0.175 179 9/2/2025
3.0.174 167 9/1/2025
3.0.173 193 8/30/2025
3.0.172 198 8/30/2025
3.0.171 227 8/26/2025
3.0.170 176 8/25/2025
3.0.169 168 8/18/2025
3.0.168 157 8/15/2025
3.0.167 174 8/12/2025
3.0.166 141 8/12/2025
3.0.165 169 8/12/2025
3.0.164 154 8/12/2025
3.0.163 153 8/12/2025
3.0.162 224 8/11/2025
3.0.161 301 8/8/2025
3.0.160 239 8/7/2025
3.0.159 273 8/5/2025
3.0.158 292 8/4/2025
3.0.157 66 8/2/2025
3.0.156 79 8/1/2025
3.0.155 136 7/31/2025
3.0.154 130 7/30/2025
3.0.153 134 7/29/2025
3.0.152 223 7/26/2025
3.0.151 369 7/25/2025
3.0.150 514 7/24/2025
3.0.149 578 7/23/2025
3.0.148 196 7/17/2025
3.0.147 159 7/16/2025
3.0.146 190 7/15/2025
3.0.145 137 7/12/2025
3.0.144 193 7/10/2025
3.0.143 163 7/9/2025
3.0.142 303 7/8/2025
3.0.141 169 7/7/2025
3.0.140 278 7/3/2025
3.0.139 241 7/2/2025
3.0.138 209 7/1/2025
3.0.137 239 6/30/2025
3.0.136 252 6/27/2025
3.0.135 224 6/25/2025
3.0.134 207 6/23/2025
3.0.133 131 6/21/2025
3.0.132 127 6/20/2025
3.0.131 244 6/19/2025
3.0.130 209 6/18/2025
3.0.129 178 6/18/2025
3.0.128 194 6/18/2025
3.0.127 161 6/18/2025
3.0.126 166 6/18/2025
3.0.125 161 6/18/2025
3.0.124 203 6/17/2025
3.0.123 174 6/17/2025
3.0.122 172 6/15/2025
3.0.119 201 6/14/2025
3.0.118 212 6/14/2025
3.0.117 259 6/13/2025
3.0.116 318 6/12/2025
3.0.115 342 6/11/2025
3.0.114 373 6/10/2025
3.0.113 184 6/7/2025
3.0.112 128 6/6/2025
3.0.111 187 6/5/2025
3.0.110 235 6/2/2025
3.0.109 164 6/2/2025
3.0.108 174 6/2/2025
3.0.107 170 6/2/2025
3.0.106 158 6/2/2025
3.0.105 207 5/30/2025
3.0.104 181 5/29/2025
3.0.103 265 5/27/2025
3.0.102 185 5/23/2025
3.0.101 203 5/22/2025
3.0.100 221 5/22/2025
3.0.99 193 5/22/2025
3.0.98 255 5/20/2025
3.0.97 183 5/19/2025
3.0.96 201 5/17/2025
3.0.95 232 5/16/2025
3.0.94 278 5/15/2025
3.0.93 311 5/14/2025
3.0.92 307 5/13/2025
3.0.91 248 5/12/2025
3.0.90 188 5/10/2025
3.0.89 191 5/8/2025
3.0.88 174 5/7/2025
3.0.87 176 5/7/2025
3.0.86 203 5/5/2025
3.0.85 184 5/5/2025
3.0.84 163 5/5/2025
3.0.83 181 5/5/2025
3.0.82 115 5/2/2025
3.0.81 174 5/1/2025
3.0.80 191 4/30/2025
3.0.79 228 4/28/2025
3.0.78 128 4/25/2025
3.0.77 176 4/24/2025
3.0.76 187 4/22/2025
3.0.75 194 4/21/2025
3.0.74 165 4/18/2025
3.0.73 217 4/16/2025
3.0.72 239 4/15/2025
3.0.71 238 4/14/2025
3.0.70 151 4/11/2025
3.0.69 211 4/10/2025
3.0.68 174 4/8/2025
3.0.67 183 4/8/2025
3.0.66 193 4/8/2025
3.0.65 189 4/8/2025
3.0.64 211 4/8/2025
3.0.63 172 4/8/2025
3.0.62 192 4/8/2025
3.0.61 203 4/7/2025
3.0.60 193 4/7/2025
3.0.59 192 4/7/2025
3.0.58 193 4/7/2025
3.0.57 222 4/7/2025
3.0.56 190 4/7/2025
3.0.55 197 4/7/2025
3.0.54 195 4/6/2025
3.0.53 204 4/6/2025
3.0.52 218 4/6/2025
3.0.51 197 4/6/2025
3.0.50 197 4/6/2025
3.0.49 187 4/6/2025
3.0.48 207 4/6/2025
3.0.47 152 4/6/2025
3.0.46 122 4/5/2025
3.0.45 146 4/5/2025
3.0.44 115 4/5/2025
3.0.43 120 4/5/2025
3.0.42 126 4/5/2025
3.0.41 119 4/5/2025
3.0.40 133 4/5/2025
3.0.39 113 4/4/2025
3.0.38 167 4/4/2025
3.0.37 209 4/4/2025
3.0.36 194 4/3/2025
3.0.35 207 4/3/2025
3.0.34 195 4/3/2025
3.0.33 197 4/3/2025
3.0.32 201 4/3/2025
3.0.31 199 4/3/2025
3.0.30 200 4/3/2025
3.0.29 202 4/2/2025
3.0.28 189 4/1/2025
3.0.27 209 4/1/2025
3.0.26 194 4/1/2025
3.0.25 197 3/31/2025
3.0.24 190 3/31/2025
3.0.23 128 3/29/2025
3.0.22 156 3/28/2025
3.0.21 171 3/27/2025
3.0.20 492 3/26/2025
3.0.19 505 3/25/2025
3.0.18 509 3/25/2025
3.0.17 326 3/23/2025
3.0.16 128 3/21/2025
3.0.15 144 3/21/2025
3.0.14 183 3/21/2025
3.0.13 197 3/19/2025
3.0.12 161 3/18/2025
3.0.11 177 3/18/2025
3.0.10 123 3/15/2025
3.0.9 102 3/15/2025
3.0.8 150 3/14/2025
3.0.7 182 3/13/2025
3.0.6 185 3/12/2025
3.0.5 174 3/12/2025
3.0.4 183 3/12/2025
3.0.1 208 3/12/2025