Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Telnyx TeXML REST Commands API

TeXML REST Commands

Telnyx TeXML REST Commands API is one of 168 APIs that Telnyx publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include TeXML REST Commands. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 34 operations across 22 paths, and defines 66 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

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

34 operations 22 paths 66 schemas 4 DELETE15 GET15 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.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 TeXML REST 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 34

Across 22 paths, the API surfaces 34 operations — 4 DELETE, 15 GET, 15 POST. Each is listed below with its method, path, parameters, and response codes.

TeXML REST Commands 34

TeXML REST Commands

GET
/texml/Accounts/{account_sid}/Calls
Fetch multiple call resources
GetTexmlCalls 13 params → 200404
POST
/texml/Accounts/{account_sid}/Calls
Initiate an outbound call
InitiateTexmlCall 1 param body → 200422
GET
/texml/Accounts/{account_sid}/Calls/{call_sid}
Fetch a call
GetTexmlCall 2 params → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}
Update call
UpdateTexmlCall 2 params body → 200404422
GET
/texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json
Fetch recordings for a call
FetchTeXMLCallRecordings 2 params → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json
Request recording for a call
StartTeXMLCallRecording 2 params body → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings/{recording_sid}.json
Update recording on a call
UpdateTeXMLCallRecording 3 params body → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec.json
Request siprec session for a call
StartTeXMLSiprecSession 2 params body → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec/{siprec_sid}.json
Updates siprec session for a call
UpdateTeXMLSiprecSession 3 params body → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}/Streams.json
Start streaming media from a call.
StartTeXMLCallStreaming 2 params body → 200404
POST
/texml/Accounts/{account_sid}/Calls/{call_sid}/Streams/{streaming_sid}.json
Update streaming on a call
UpdateTeXMLCallStreaming 3 params body → 200404
GET
/texml/Accounts/{account_sid}/Conferences
List conference resources
GetTexmlConferences 8 params → 200404
GET
/texml/Accounts/{account_sid}/Conferences/{conference_sid}
Fetch a conference resource
GetTexmlConference 2 params → 200404
POST
/texml/Accounts/{account_sid}/Conferences/{conference_sid}
Update a conference resource
UpdateTexmlConference 2 params body → 200404
GET
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants
List conference participants
GetTexmlConferenceParticipants 2 params → 200404
POST
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants
Dial a new conference participant
DialTexmlConferenceParticipant 2 params body → 200404
DELETE
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label}
Delete a conference participant
DeleteTexmlConferenceParticipant 3 params → 204404
GET
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label}
Get conference participant resource
GetTexmlConferenceParticipant 3 params → 200404
POST
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label}
Update a conference participant
UpdateTexmlConferenceParticipant 3 params body → 200404
GET
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Recordings
List conference recordings
GetTexmlConferenceRecordings 2 params → 200404
GET
/texml/Accounts/{account_sid}/Conferences/{conference_sid}/Recordings.json
Fetch recordings for a conference
FetchTeXMLConferenceRecordings 2 params → 200404
GET
/texml/Accounts/{account_sid}/Queues
List queue resources
GetTexmlQueues 6 params → 200404
POST
/texml/Accounts/{account_sid}/Queues
Create a new queue
CreateTexmlQueue 1 param body → 200404
DELETE
/texml/Accounts/{account_sid}/Queues/{queue_sid}
Delete a queue resource
DeleteTexmlQueue 2 params → 204404
GET
/texml/Accounts/{account_sid}/Queues/{queue_sid}
Fetch a queue resource
GetTexmlQueue 2 params → 200404
POST
/texml/Accounts/{account_sid}/Queues/{queue_sid}
Update a queue resource
UpdateTexmlQueue 2 params body → 200404
GET
/texml/Accounts/{account_sid}/Recordings.json
Fetch multiple recording resources
GetTeXMLCallRecordings 4 params → 200404
DELETE
/texml/Accounts/{account_sid}/Recordings/{recording_sid}.json
Delete recording resource
DeleteTeXMLCallRecording 2 params → 204404
GET
/texml/Accounts/{account_sid}/Recordings/{recording_sid}.json
Fetch recording resource
GetTeXMLCallRecording 2 params → 200404
GET
/texml/Accounts/{account_sid}/Transcriptions.json
List recording transcriptions
GetTeXMLRecordingTranscriptions 3 params → 200404
DELETE
/texml/Accounts/{account_sid}/Transcriptions/{recording_transcription_sid}.json
Delete a recording transcription
DeleteTeXMLRecordingTranscription 2 params → 204404
GET
/texml/Accounts/{account_sid}/Transcriptions/{recording_transcription_sid}.json
Fetch a recording transcription resource
GetTeXMLRecordingTranscription 2 params → 200404
POST
/texml/ai_calls/{connection_id}
Initiate an outbound AI call
InitiateTexmlAICall 1 param body → 200401422
POST
/texml/secrets
Create a TeXML secret
CreateTexmlSecret body → 201422

Schemas 66

The contract defines 66 schemas that model the data the API accepts and returns. The most detailed are DialConferenceParticipantRequest (48 properties), InitiateCallRequest (44 properties), InitiateAICallRequest (39 properties), CallResource (18 properties). Each schema is shown below with its type and property counts.

DialConferenceParticipantRequest
object
48 properties
call-scripting_UpdateConferenceParticipantRequest
object
11 properties
ConferenceRecordingResourceIndex
object
9 properties
UpdateCallRequest
object
8 properties
call-scripting_UpdateConferenceRequest
object
3 properties
TexmlErrorCode
stringnull
SendRecordingUrl
boolean
Whether to send RecordingUrl in webhooks.
TexmlUpdateCallStreamingResponseBody
object
6 properties
DateTimeRFC2822
string
ParticipantResource
object
15 properties
ConferenceSid
stringnull
TexmlStatusCallbackMethod
string
HTTP method used to send status callbacks.
AccountSid
string
ConferenceRecordingResource
object
15 properties
TexmlStatusCallback
string
Url where status callbacks will be sent.
call-scripting_UpdateQueueRequest
object
1 property
ConferenceResource
object
12 properties
RecordingStatusCallbackEvent
string
The changes to the recording's state that should generate a call to RecoridngStatusCallback. Can be: in-progress, completed and absent. Separate multiple value…
TexmlRecordingDuration
stringnull
The duration of this recording, given in seconds.
TexmlCreateCallStreamingRequestBody
object
7 properties
CreateTeXMLSecretRequest
object
2 properties 2 required
InitiateCallRequest
object
44 properties 3 required
QueueResourceIndex
object
8 properties
TexmlStreamUrl
string
The destination WebSocket address where the stream is going to be delivered.
call-scripting_CreateQueueRequest
object
2 properties
StreamName
string
The user specified name of Stream.
CreateTeXMLSecretResult
object
2 properties
TexmlRecordingChannels
string
When dual, final audio file has the first leg on channel A, and the rest on channel B. single mixes both tracks into a single channel.
TexmlCreateCallRecordingResponseBody
object
15 properties
TexmlUpdateCallRecordingRequestBody
object
1 property
TexmlGetCallRecordingResponseBody
object
15 properties
TexmlRecordingSubresourcesUris
object
Subresources details for a recording if available.
1 property
TexmlCreateCallRecordingRequestBody
object
7 properties
TexmlBidirectionalStreamMode
string
Configures method of bidirectional streaming (mp3, rtp).
TexmlRecordingTranscription
object
11 properties
InitiateAICallRequest
object
39 properties 3 required
TexmlBidirectionalStreamCodec
string
Indicates codec for bidirectional streaming RTP payloads. Used only with streambidirectionalmode=rtp. Case sensitive.
ParticipantResourceIndex
object
8 properties
ErrorResponse
object
1 property
TexmlUpdateCallStreamingRequestBody
object
1 property
RecordingSource
string
Defines how the recording was created.
NewParticipantResource
object
10 properties
InitiateCallResult
object
3 properties
TexmlCreateCallStreamingResponseBody
object
7 properties
TexmlUpdateSiprecSessionResponseBody
object
7 properties
TexmlRecordingMediaUrl
string
TexmlGetCallRecordingsResponseBody
object
9 properties
RecordingTrack
string
The audio track to record for the call. The default is both.
call-scripting_ResourceNotFoundError
object
1 property
TexmlPriceUnit
stringnull
The unit in which the price is given.
TexmlUpdateSiprecSessionRequestBody
object
1 property
TexmlCreateSiprecSessionRequestBody
object
9 properties
CallControlId
string
StreamStatus
string
The status of the Stream you wish to update.
TexmlRecordingStatus
string
TwimlRecordingChannels
integer
ConferenceResourceIndex
object
8 properties
CallResourceIndex
object
8 properties
PlayBeep
boolean
Whether to play a beep when recording is started.
TexmlCreateSiprecSessionResponseBody
object
10 properties
InitiateAICallResult
object
4 properties
StreamTrack
string
Tracks to be included in the stream
QueueResource
object
9 properties
TexmlSid
string
Identifier of a resource.
CallResource
object
18 properties
TexmlRecordingPrice
stringnull
The price of this recording, the currency is specified in the priceunit field.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

telnyx-texml-rest-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