Soenneker.Telnyx.OpenApiClient
3.0.7
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Telnyx.OpenApiClient --version 3.0.7
NuGet\Install-Package Soenneker.Telnyx.OpenApiClient -Version 3.0.7
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.7" />
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.7" />
<PackageReference Include="Soenneker.Telnyx.OpenApiClient" />
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.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Telnyx.OpenApiClient, 3.0.7"
#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.
#addin nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.7
#tool nuget:?package=Soenneker.Telnyx.OpenApiClient&version=3.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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);
var apiClient = new YourKiotaGeneratedClient(requestAdapter);
// 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 | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- Microsoft.Kiota.Abstractions (>= 1.17.1)
- Microsoft.Kiota.Http.HttpClientLibrary (>= 1.17.1)
- Microsoft.Kiota.Serialization.Form (>= 1.17.1)
- Microsoft.Kiota.Serialization.Json (>= 1.17.1)
- Microsoft.Kiota.Serialization.Multipart (>= 1.17.1)
- Microsoft.Kiota.Serialization.Text (>= 1.17.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.70 | 60 | 4/11/2025 |
3.0.69 | 115 | 4/10/2025 |
3.0.68 | 126 | 4/8/2025 |
3.0.67 | 130 | 4/8/2025 |
3.0.66 | 142 | 4/8/2025 |
3.0.65 | 137 | 4/8/2025 |
3.0.64 | 147 | 4/8/2025 |
3.0.63 | 143 | 4/8/2025 |
3.0.62 | 139 | 4/8/2025 |
3.0.61 | 145 | 4/7/2025 |
3.0.60 | 144 | 4/7/2025 |
3.0.59 | 140 | 4/7/2025 |
3.0.58 | 143 | 4/7/2025 |
3.0.57 | 145 | 4/7/2025 |
3.0.56 | 137 | 4/7/2025 |
3.0.55 | 143 | 4/7/2025 |
3.0.54 | 143 | 4/6/2025 |
3.0.53 | 143 | 4/6/2025 |
3.0.52 | 147 | 4/6/2025 |
3.0.51 | 150 | 4/6/2025 |
3.0.50 | 122 | 4/6/2025 |
3.0.49 | 125 | 4/6/2025 |
3.0.48 | 116 | 4/6/2025 |
3.0.47 | 96 | 4/6/2025 |
3.0.46 | 68 | 4/5/2025 |
3.0.45 | 65 | 4/5/2025 |
3.0.44 | 71 | 4/5/2025 |
3.0.43 | 71 | 4/5/2025 |
3.0.42 | 70 | 4/5/2025 |
3.0.41 | 70 | 4/5/2025 |
3.0.40 | 76 | 4/5/2025 |
3.0.39 | 80 | 4/4/2025 |
3.0.38 | 97 | 4/4/2025 |
3.0.37 | 145 | 4/4/2025 |
3.0.36 | 149 | 4/3/2025 |
3.0.35 | 152 | 4/3/2025 |
3.0.34 | 145 | 4/3/2025 |
3.0.33 | 148 | 4/3/2025 |
3.0.32 | 152 | 4/3/2025 |
3.0.31 | 147 | 4/3/2025 |
3.0.30 | 151 | 4/3/2025 |
3.0.29 | 139 | 4/2/2025 |
3.0.28 | 141 | 4/1/2025 |
3.0.27 | 139 | 4/1/2025 |
3.0.26 | 145 | 4/1/2025 |
3.0.25 | 144 | 3/31/2025 |
3.0.24 | 137 | 3/31/2025 |
3.0.23 | 80 | 3/29/2025 |
3.0.22 | 110 | 3/28/2025 |
3.0.21 | 121 | 3/27/2025 |
3.0.20 | 445 | 3/26/2025 |
3.0.19 | 456 | 3/25/2025 |
3.0.18 | 457 | 3/25/2025 |
3.0.17 | 256 | 3/23/2025 |
3.0.16 | 78 | 3/21/2025 |
3.0.15 | 107 | 3/21/2025 |
3.0.14 | 126 | 3/21/2025 |
3.0.13 | 138 | 3/19/2025 |
3.0.12 | 128 | 3/18/2025 |
3.0.11 | 132 | 3/18/2025 |
3.0.10 | 59 | 3/15/2025 |
3.0.9 | 56 | 3/15/2025 |
3.0.8 | 85 | 3/14/2025 |
3.0.7 | 132 | 3/13/2025 |
3.0.6 | 143 | 3/12/2025 |
3.0.5 | 142 | 3/12/2025 |
3.0.4 | 138 | 3/12/2025 |
3.0.1 | 142 | 3/12/2025 |