How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Telnyx Text To Speech Commands API

Text to speech streaming command operations

Telnyx Text To Speech Commands API is one of 169 APIs that Telnyx publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Text To Speech Commands. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 2 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against a single base URL, https://api.telnyx.com/v2.

3 operations 2 paths 19 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://api.telnyx.com/v2
Authentication
HTTP Bearer, HTTP Bearer, OAuth 2.0, HTTP Bearer, HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 6

Telnyx Text To Speech Commands API declares 6 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP bearer tokens (branded-calling_bearerAuth). It supports OAuth 2.0 (oauthClientAuth) using the authorizationCode and clientCredentials flows, exposing 1 scope. It accepts HTTP bearer tokens (JWT) (outbound-voice-profiles_bearerAuth). It accepts HTTP bearer tokens (pronunciation-dicts_bearerAuth). It accepts HTTP bearer tokens (JWT) (stored-payment-transactions_bearerAuth). By default, every request must be authenticated.

  • branded-calling_bearerAuth — API key passed as a Bearer token in the Authorization header
  • oauthClientAuth — OAuth 2.0 authentication for Telnyx API and MCP integrations
  • pronunciation-dicts_bearerAuth — Telnyx API v2 key. Obtain from https://portal.telnyx.com

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Text To Speech Commands 3

Text to speech streaming command operations

GET
/text-to-speech/speech
Stream text to speech over WebSocket
TextToSpeechOverWs 7 params → 101200400401
POST
/text-to-speech/speech
Generate speech from text
generateSpeech body → 200400401422
GET
/text-to-speech/voices
List available voices
listVoices 2 params → 200400401

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are GenerateSpeechRequest (16 properties), AzureProviderParams (8 properties), AudioChunkFrame (6 properties), TelnyxProviderParams (6 properties). Each schema is shown below with its type and property counts.

ErrorFrame
object
Server-to-client frame indicating an error during synthesis. The connection is closed shortly after.
2 properties
GenerateSpeechRequest
object
Request body for generating speech from text.
16 properties
ClientTextFrame
object
Client-to-server frame containing text to synthesize.
3 properties 1 required
VoicesResponse
object
List of available voices.
1 property
AwsProviderParams
object
AWS Polly provider-specific parameters.
5 properties
TtsServerEvent
Union of all server-to-client WebSocket events for TTS streaming.
ValidationErrorResponse
object
1 property
RimeProviderParams
object
Rime provider-specific parameters.
3 properties
ElevenLabsProviderParams
object
ElevenLabs provider-specific parameters.
3 properties
text-to-speech_ErrorResponse
object
1 property
MinimaxProviderParams
object
Minimax provider-specific parameters.
5 properties
FinalFrame
object
Server-to-client frame indicating synthesis is complete for the current text.
5 properties
Voice
object
A voice available for text-to-speech synthesis.
5 properties
ResembleProviderParams
object
Resemble AI provider-specific parameters.
4 properties
AudioChunkFrame
object
Server-to-client frame containing a base64-encoded audio chunk.
6 properties
Base64AudioResponse
object
Response when outputtype is base64output.
1 property
AzureProviderParams
object
Azure Cognitive Services provider-specific parameters.
8 properties
TelnyxProviderParams
object
Telnyx provider-specific parameters. Use voicespeed and temperature for Natural and NaturalHD models. For the Ultra model, use voicespeed, volume, and emotion.
6 properties
XAIProviderParams
object
xAI provider-specific parameters.
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

telnyx-text-to-speech-commands-api-openapi.yml Raw ↑

Other APIs Telnyx publishes across the network.

Telnyx Access Tokens API
Telnyx Addresses API
Telnyx Advanced Number Orders API
Telnyx Assistants API
Telnyx Audio API
Telnyx Audit Logs API
Telnyx Authentication Providers API
Telnyx AutoRechargePreferences API
Telnyx Billing API
Telnyx Billing Groups API
Telnyx Brands API
Telnyx Bucket SSL Certificate API
Where this information came from

This is an independent, third-party profile of Telnyx Text To Speech Commands API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.