Soenneker.Telnyx.OpenApiClient 3.0.151

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.151
                    
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.151
                    
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.151" />
                    
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.151" />
                    
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.151
                    
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.151"
                    
#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.151
                    
#: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.151
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.151
                    
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.161 53 8/8/2025
3.0.160 113 8/7/2025
3.0.159 118 8/5/2025
3.0.158 120 8/4/2025
3.0.157 13 8/2/2025
3.0.156 34 8/1/2025
3.0.155 84 7/31/2025
3.0.154 87 7/30/2025
3.0.153 87 7/29/2025
3.0.152 180 7/26/2025
3.0.151 317 7/25/2025
3.0.150 437 7/24/2025
3.0.149 478 7/23/2025
3.0.148 116 7/17/2025
3.0.147 136 7/16/2025
3.0.146 149 7/15/2025
3.0.145 106 7/12/2025
3.0.144 155 7/10/2025
3.0.143 133 7/9/2025
3.0.142 222 7/8/2025
3.0.141 140 7/7/2025
3.0.140 225 7/3/2025
3.0.139 198 7/2/2025
3.0.138 161 7/1/2025
3.0.137 210 6/30/2025
3.0.136 147 6/27/2025
3.0.135 160 6/25/2025
3.0.134 163 6/23/2025
3.0.133 95 6/21/2025
3.0.132 89 6/20/2025
3.0.131 209 6/19/2025
3.0.130 174 6/18/2025
3.0.129 136 6/18/2025
3.0.128 152 6/18/2025
3.0.127 130 6/18/2025
3.0.126 137 6/18/2025
3.0.125 130 6/18/2025
3.0.124 159 6/17/2025
3.0.123 137 6/17/2025
3.0.122 145 6/15/2025
3.0.119 168 6/14/2025
3.0.118 176 6/14/2025
3.0.117 222 6/13/2025
3.0.116 292 6/12/2025
3.0.115 311 6/11/2025
3.0.114 316 6/10/2025
3.0.113 142 6/7/2025
3.0.112 91 6/6/2025
3.0.111 146 6/5/2025
3.0.110 196 6/2/2025
3.0.109 135 6/2/2025
3.0.108 146 6/2/2025
3.0.107 140 6/2/2025
3.0.106 138 6/2/2025
3.0.105 155 5/30/2025
3.0.104 145 5/29/2025
3.0.103 199 5/27/2025
3.0.102 134 5/23/2025
3.0.101 164 5/22/2025
3.0.100 171 5/22/2025
3.0.99 138 5/22/2025
3.0.98 203 5/20/2025
3.0.97 146 5/19/2025
3.0.96 140 5/17/2025
3.0.95 184 5/16/2025
3.0.94 237 5/15/2025
3.0.93 249 5/14/2025
3.0.92 255 5/13/2025
3.0.91 229 5/12/2025
3.0.90 129 5/10/2025
3.0.89 172 5/8/2025
3.0.88 144 5/7/2025
3.0.87 143 5/7/2025
3.0.86 164 5/5/2025
3.0.85 150 5/5/2025
3.0.84 142 5/5/2025
3.0.83 150 5/5/2025
3.0.82 94 5/2/2025
3.0.81 144 5/1/2025
3.0.80 148 4/30/2025
3.0.79 182 4/28/2025
3.0.78 100 4/25/2025
3.0.77 153 4/24/2025
3.0.76 159 4/22/2025
3.0.75 161 4/21/2025
3.0.74 139 4/18/2025
3.0.73 186 4/16/2025
3.0.72 211 4/15/2025
3.0.71 198 4/14/2025
3.0.70 117 4/11/2025
3.0.69 172 4/10/2025
3.0.68 151 4/8/2025
3.0.67 152 4/8/2025
3.0.66 165 4/8/2025
3.0.65 161 4/8/2025
3.0.64 178 4/8/2025
3.0.63 165 4/8/2025
3.0.62 165 4/8/2025
3.0.61 172 4/7/2025
3.0.60 172 4/7/2025
3.0.59 164 4/7/2025
3.0.58 164 4/7/2025
3.0.57 175 4/7/2025
3.0.56 161 4/7/2025
3.0.55 169 4/7/2025
3.0.54 165 4/6/2025
3.0.53 166 4/6/2025
3.0.52 177 4/6/2025
3.0.51 179 4/6/2025
3.0.50 154 4/6/2025
3.0.49 159 4/6/2025
3.0.48 162 4/6/2025
3.0.47 121 4/6/2025
3.0.46 90 4/5/2025
3.0.45 96 4/5/2025
3.0.44 97 4/5/2025
3.0.43 93 4/5/2025
3.0.42 96 4/5/2025
3.0.41 97 4/5/2025
3.0.40 102 4/5/2025
3.0.39 102 4/4/2025
3.0.38 127 4/4/2025
3.0.37 170 4/4/2025
3.0.36 173 4/3/2025
3.0.35 175 4/3/2025
3.0.34 167 4/3/2025
3.0.33 169 4/3/2025
3.0.32 172 4/3/2025
3.0.31 170 4/3/2025
3.0.30 171 4/3/2025
3.0.29 171 4/2/2025
3.0.28 159 4/1/2025
3.0.27 169 4/1/2025
3.0.26 163 4/1/2025
3.0.25 163 3/31/2025
3.0.24 157 3/31/2025
3.0.23 100 3/29/2025
3.0.22 129 3/28/2025
3.0.21 142 3/27/2025
3.0.20 463 3/26/2025
3.0.19 475 3/25/2025
3.0.18 481 3/25/2025
3.0.17 285 3/23/2025
3.0.16 98 3/21/2025
3.0.15 124 3/21/2025
3.0.14 143 3/21/2025
3.0.13 159 3/19/2025
3.0.12 142 3/18/2025
3.0.11 146 3/18/2025
3.0.10 79 3/15/2025
3.0.9 71 3/15/2025
3.0.8 108 3/14/2025
3.0.7 149 3/13/2025
3.0.6 159 3/12/2025
3.0.5 156 3/12/2025
3.0.4 150 3/12/2025
3.0.1 165 3/12/2025