Soenneker.Telnyx.OpenApiClient 3.0.157

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.157
                    
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.157
                    
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.157" />
                    
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.157" />
                    
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.157
                    
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.157"
                    
#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.157
                    
#: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.157
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.157
                    
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.176 42 9/3/2025
3.0.175 40 9/2/2025
3.0.174 45 9/1/2025
3.0.173 133 8/30/2025
3.0.172 131 8/30/2025
3.0.171 191 8/26/2025
3.0.170 153 8/25/2025
3.0.169 147 8/18/2025
3.0.168 99 8/15/2025
3.0.167 138 8/12/2025
3.0.166 127 8/12/2025
3.0.165 140 8/12/2025
3.0.164 131 8/12/2025
3.0.163 127 8/12/2025
3.0.162 161 8/11/2025
3.0.161 210 8/8/2025
3.0.160 209 8/7/2025
3.0.159 237 8/5/2025
3.0.158 227 8/4/2025
3.0.157 37 8/2/2025
3.0.156 59 8/1/2025
3.0.155 105 7/31/2025
3.0.154 100 7/30/2025
3.0.153 105 7/29/2025
3.0.152 189 7/26/2025
3.0.151 325 7/25/2025
3.0.150 450 7/24/2025
3.0.149 487 7/23/2025
3.0.148 132 7/17/2025
3.0.147 143 7/16/2025
3.0.146 156 7/15/2025
3.0.145 114 7/12/2025
3.0.144 164 7/10/2025
3.0.143 141 7/9/2025
3.0.142 230 7/8/2025
3.0.141 147 7/7/2025
3.0.140 236 7/3/2025
3.0.139 206 7/2/2025
3.0.138 169 7/1/2025
3.0.137 217 6/30/2025
3.0.136 154 6/27/2025
3.0.135 167 6/25/2025
3.0.134 169 6/23/2025
3.0.133 102 6/21/2025
3.0.132 96 6/20/2025
3.0.131 214 6/19/2025
3.0.130 178 6/18/2025
3.0.129 141 6/18/2025
3.0.128 158 6/18/2025
3.0.127 136 6/18/2025
3.0.126 144 6/18/2025
3.0.125 135 6/18/2025
3.0.124 165 6/17/2025
3.0.123 145 6/17/2025
3.0.122 150 6/15/2025
3.0.119 172 6/14/2025
3.0.118 182 6/14/2025
3.0.117 229 6/13/2025
3.0.116 297 6/12/2025
3.0.115 316 6/11/2025
3.0.114 321 6/10/2025
3.0.113 149 6/7/2025
3.0.112 96 6/6/2025
3.0.111 152 6/5/2025
3.0.110 202 6/2/2025
3.0.109 140 6/2/2025
3.0.108 151 6/2/2025
3.0.107 144 6/2/2025
3.0.106 143 6/2/2025
3.0.105 161 5/30/2025
3.0.104 150 5/29/2025
3.0.103 204 5/27/2025
3.0.102 141 5/23/2025
3.0.101 171 5/22/2025
3.0.100 177 5/22/2025
3.0.99 146 5/22/2025
3.0.98 209 5/20/2025
3.0.97 152 5/19/2025
3.0.96 148 5/17/2025
3.0.95 191 5/16/2025
3.0.94 244 5/15/2025
3.0.93 258 5/14/2025
3.0.92 261 5/13/2025
3.0.91 236 5/12/2025
3.0.90 136 5/10/2025
3.0.89 177 5/8/2025
3.0.88 151 5/7/2025
3.0.87 149 5/7/2025
3.0.86 169 5/5/2025
3.0.85 155 5/5/2025
3.0.84 147 5/5/2025
3.0.83 154 5/5/2025
3.0.82 100 5/2/2025
3.0.81 151 5/1/2025
3.0.80 153 4/30/2025
3.0.79 190 4/28/2025
3.0.78 104 4/25/2025
3.0.77 159 4/24/2025
3.0.76 165 4/22/2025
3.0.75 168 4/21/2025
3.0.74 143 4/18/2025
3.0.73 192 4/16/2025
3.0.72 215 4/15/2025
3.0.71 205 4/14/2025
3.0.70 126 4/11/2025
3.0.69 176 4/10/2025
3.0.68 159 4/8/2025
3.0.67 157 4/8/2025
3.0.66 170 4/8/2025
3.0.65 166 4/8/2025
3.0.64 184 4/8/2025
3.0.63 169 4/8/2025
3.0.62 169 4/8/2025
3.0.61 177 4/7/2025
3.0.60 178 4/7/2025
3.0.59 169 4/7/2025
3.0.58 168 4/7/2025
3.0.57 181 4/7/2025
3.0.56 166 4/7/2025
3.0.55 174 4/7/2025
3.0.54 171 4/6/2025
3.0.53 171 4/6/2025
3.0.52 182 4/6/2025
3.0.51 183 4/6/2025
3.0.50 159 4/6/2025
3.0.49 167 4/6/2025
3.0.48 167 4/6/2025
3.0.47 126 4/6/2025
3.0.46 96 4/5/2025
3.0.45 102 4/5/2025
3.0.44 102 4/5/2025
3.0.43 97 4/5/2025
3.0.42 101 4/5/2025
3.0.41 102 4/5/2025
3.0.40 108 4/5/2025
3.0.39 108 4/4/2025
3.0.38 135 4/4/2025
3.0.37 175 4/4/2025
3.0.36 179 4/3/2025
3.0.35 181 4/3/2025
3.0.34 171 4/3/2025
3.0.33 173 4/3/2025
3.0.32 178 4/3/2025
3.0.31 174 4/3/2025
3.0.30 176 4/3/2025
3.0.29 176 4/2/2025
3.0.28 164 4/1/2025
3.0.27 175 4/1/2025
3.0.26 168 4/1/2025
3.0.25 173 3/31/2025
3.0.24 162 3/31/2025
3.0.23 106 3/29/2025
3.0.22 134 3/28/2025
3.0.21 147 3/27/2025
3.0.20 468 3/26/2025
3.0.19 480 3/25/2025
3.0.18 486 3/25/2025
3.0.17 291 3/23/2025
3.0.16 104 3/21/2025
3.0.15 128 3/21/2025
3.0.14 151 3/21/2025
3.0.13 166 3/19/2025
3.0.12 146 3/18/2025
3.0.11 151 3/18/2025
3.0.10 85 3/15/2025
3.0.9 75 3/15/2025
3.0.8 114 3/14/2025
3.0.7 154 3/13/2025
3.0.6 170 3/12/2025
3.0.5 162 3/12/2025
3.0.4 155 3/12/2025
3.0.1 171 3/12/2025