Soenneker.Telnyx.OpenApiClient 3.0.211

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 3.0.211
                    
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.211
                    
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.211" />
                    
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.211" />
                    
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.211
                    
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.211"
                    
#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.211
                    
#: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.211
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.211
                    
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
4.0.219 42 10/30/2025
4.0.218 94 10/29/2025
4.0.217 68 10/29/2025
3.0.216 108 10/28/2025
3.0.215 82 10/28/2025
3.0.214 92 10/28/2025
3.0.213 72 10/28/2025
3.0.212 75 10/28/2025
3.0.211 75 10/28/2025
3.0.210 117 10/25/2025
3.0.209 186 10/21/2025
3.0.208 174 10/16/2025
3.0.207 270 10/14/2025
3.0.206 179 10/9/2025
3.0.205 184 10/6/2025
3.0.204 186 10/2/2025
3.0.203 184 10/1/2025
3.0.202 187 9/30/2025
3.0.201 201 9/30/2025
3.0.200 151 9/30/2025
3.0.199 144 9/30/2025
3.0.198 163 9/29/2025
3.0.197 163 9/29/2025
3.0.196 191 9/29/2025
3.0.195 110 9/27/2025
3.0.194 167 9/25/2025
3.0.193 178 9/24/2025
3.0.192 183 9/23/2025
3.0.191 159 9/23/2025
3.0.190 157 9/23/2025
3.0.189 195 9/23/2025
3.0.188 140 9/23/2025
3.0.187 148 9/23/2025
3.0.186 165 9/22/2025
3.0.185 175 9/20/2025
3.0.184 238 9/19/2025
3.0.183 310 9/18/2025
3.0.182 294 9/17/2025
3.0.181 346 9/16/2025
3.0.180 260 9/15/2025
3.0.179 174 9/11/2025
3.0.178 200 9/9/2025
3.0.177 189 9/8/2025
3.0.176 350 9/3/2025
3.0.175 186 9/2/2025
3.0.174 172 9/1/2025
3.0.173 197 8/30/2025
3.0.172 199 8/30/2025
3.0.171 232 8/26/2025
3.0.170 180 8/25/2025
3.0.169 172 8/18/2025
3.0.168 173 8/15/2025
3.0.167 182 8/12/2025
3.0.166 142 8/12/2025
3.0.165 173 8/12/2025
3.0.164 156 8/12/2025
3.0.163 154 8/12/2025
3.0.162 244 8/11/2025
3.0.161 335 8/8/2025
3.0.160 243 8/7/2025
3.0.159 277 8/5/2025
3.0.158 294 8/4/2025
3.0.157 67 8/2/2025
3.0.156 80 8/1/2025
3.0.155 137 7/31/2025
3.0.154 131 7/30/2025
3.0.153 135 7/29/2025
3.0.152 224 7/26/2025
3.0.151 370 7/25/2025
3.0.150 515 7/24/2025
3.0.149 579 7/23/2025
3.0.148 197 7/17/2025
3.0.147 160 7/16/2025
3.0.146 191 7/15/2025
3.0.145 139 7/12/2025
3.0.144 194 7/10/2025
3.0.143 164 7/9/2025
3.0.142 304 7/8/2025
3.0.141 170 7/7/2025
3.0.140 279 7/3/2025
3.0.139 242 7/2/2025
3.0.138 210 7/1/2025
3.0.137 240 6/30/2025
3.0.136 256 6/27/2025
3.0.135 226 6/25/2025
3.0.134 208 6/23/2025
3.0.133 132 6/21/2025
3.0.132 128 6/20/2025
3.0.131 245 6/19/2025
3.0.130 210 6/18/2025
3.0.129 179 6/18/2025
3.0.128 195 6/18/2025
3.0.127 162 6/18/2025
3.0.126 167 6/18/2025
3.0.125 162 6/18/2025
3.0.124 203 6/17/2025
3.0.123 175 6/17/2025
3.0.122 173 6/15/2025
3.0.119 202 6/14/2025
3.0.118 213 6/14/2025
3.0.117 260 6/13/2025
3.0.116 319 6/12/2025
3.0.115 343 6/11/2025
3.0.114 374 6/10/2025
3.0.113 185 6/7/2025
3.0.112 129 6/6/2025
3.0.111 188 6/5/2025
3.0.110 236 6/2/2025
3.0.109 165 6/2/2025
3.0.108 175 6/2/2025
3.0.107 171 6/2/2025
3.0.106 159 6/2/2025
3.0.105 210 5/30/2025
3.0.104 182 5/29/2025
3.0.103 266 5/27/2025
3.0.102 186 5/23/2025
3.0.101 204 5/22/2025
3.0.100 222 5/22/2025
3.0.99 195 5/22/2025
3.0.98 256 5/20/2025
3.0.97 184 5/19/2025
3.0.96 203 5/17/2025
3.0.95 232 5/16/2025
3.0.94 279 5/15/2025
3.0.93 312 5/14/2025
3.0.92 308 5/13/2025
3.0.91 249 5/12/2025
3.0.90 191 5/10/2025
3.0.89 192 5/8/2025
3.0.88 175 5/7/2025
3.0.87 177 5/7/2025
3.0.86 204 5/5/2025
3.0.85 185 5/5/2025
3.0.84 164 5/5/2025
3.0.83 182 5/5/2025
3.0.82 116 5/2/2025
3.0.81 175 5/1/2025
3.0.80 194 4/30/2025
3.0.79 229 4/28/2025
3.0.78 129 4/25/2025
3.0.77 177 4/24/2025
3.0.76 188 4/22/2025
3.0.75 195 4/21/2025
3.0.74 166 4/18/2025
3.0.73 218 4/16/2025
3.0.72 240 4/15/2025
3.0.71 240 4/14/2025
3.0.70 152 4/11/2025
3.0.69 212 4/10/2025
3.0.68 175 4/8/2025
3.0.67 184 4/8/2025
3.0.66 194 4/8/2025
3.0.65 190 4/8/2025
3.0.64 212 4/8/2025
3.0.63 173 4/8/2025
3.0.62 193 4/8/2025
3.0.61 204 4/7/2025
3.0.60 194 4/7/2025
3.0.59 193 4/7/2025
3.0.58 194 4/7/2025
3.0.57 223 4/7/2025
3.0.56 191 4/7/2025
3.0.55 198 4/7/2025
3.0.54 196 4/6/2025
3.0.53 205 4/6/2025
3.0.52 219 4/6/2025
3.0.51 198 4/6/2025
3.0.50 199 4/6/2025
3.0.49 189 4/6/2025
3.0.48 209 4/6/2025
3.0.47 154 4/6/2025
3.0.46 123 4/5/2025
3.0.45 147 4/5/2025
3.0.44 116 4/5/2025
3.0.43 123 4/5/2025
3.0.42 127 4/5/2025
3.0.41 120 4/5/2025
3.0.40 134 4/5/2025
3.0.39 114 4/4/2025
3.0.38 169 4/4/2025
3.0.37 211 4/4/2025
3.0.36 195 4/3/2025
3.0.35 208 4/3/2025
3.0.34 196 4/3/2025
3.0.33 198 4/3/2025
3.0.32 202 4/3/2025
3.0.31 200 4/3/2025
3.0.30 201 4/3/2025
3.0.29 204 4/2/2025
3.0.28 190 4/1/2025
3.0.27 211 4/1/2025
3.0.26 195 4/1/2025
3.0.25 198 3/31/2025
3.0.24 191 3/31/2025
3.0.23 129 3/29/2025
3.0.22 158 3/28/2025
3.0.21 172 3/27/2025
3.0.20 494 3/26/2025
3.0.19 507 3/25/2025
3.0.18 510 3/25/2025
3.0.17 327 3/23/2025
3.0.16 129 3/21/2025
3.0.15 145 3/21/2025
3.0.14 186 3/21/2025
3.0.13 199 3/19/2025
3.0.12 162 3/18/2025
3.0.11 178 3/18/2025
3.0.10 124 3/15/2025
3.0.9 103 3/15/2025
3.0.8 151 3/14/2025
3.0.7 183 3/13/2025
3.0.6 186 3/12/2025
3.0.5 176 3/12/2025
3.0.4 184 3/12/2025
3.0.1 210 3/12/2025