Telnyx TeXML REST Commands API

TeXML REST Commands

GitHub OpenAPI

Operations 35

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /texml/Accounts/{account_sid}/Calls List TeXML calls · Fetch multiple call resources #
Ask an LLM
“Which TeXML calls were made to a particular number?”
“Can I filter TeXML calls by status or start time?”
Tell an agent
List TeXML calls in account {account_sid}.
Show TeXML calls to {to} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Calls Start an outbound TeXML call · Initiate an outbound call #
Ask an LLM
“How do I dial a number and play TeXML instructions over it?”
“Can I detect answering machines or deepfakes on an outbound call?”
Tell an agent
Start a TeXML call from {from} to {to} using application {application_sid} in account {account_sid}.
Dial {to} from {from} with answering machine detection {amd} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Calls/{call_sid} Get a TeXML call · Fetch a call #
Ask an LLM
“What is the status of a specific TeXML call?”
“Can I fetch one call by its call SID?”
Tell an agent
Show TeXML call {call_sid} in account {account_sid}.
Get the status of call {call_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Calls/{call_sid} Update a TeXML call · Update call #
Ask an LLM
“How do I change the TeXML instructions a call is following mid-call?”
“Can I end a TeXML call by setting its status?”
Tell an agent
Set the status of TeXML call {call_sid} in account {account_sid} to {status}.
Point TeXML call {call_sid} in account {account_sid} at URL {url}.
GET /texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json List recordings of a TeXML call · Fetch recordings for a call #
Ask an LLM
“Which recordings exist for a TeXML call?”
“Can I see the recording URLs for a call?”
Tell an agent
List recordings of TeXML call {call_sid} in account {account_sid}.
Show recording URLs for call {call_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings.json Start recording a TeXML call · Request recording for a call #
Ask an LLM
“How do I record a TeXML call?”
“Can I start a recording that plays a beep when it begins?”
Tell an agent
Start recording TeXML call {call_sid} in account {account_sid}.
Record call {call_sid} in account {account_sid} with a beep: {beep}.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Recordings/{recording_sid}.json Update a TeXML call recording · Update recording on a call #
Ask an LLM
“How do I stop recording a TeXML call?”
“Can I pause a recording on a call?”
Tell an agent
Set the status of recording {recording_sid} on call {call_sid} in account {account_sid} to {status}.
Stop recording {recording_sid} of call {call_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec.json Start a SIPREC session on a TeXML call · Request siprec session for a call #
Ask an LLM
“How do I record a TeXML call with SIPREC?”
“Can I choose which track a SIPREC session records?”
Tell an agent
Start a SIPREC session on TeXML call {call_sid} in account {account_sid}.
Record the {track} track of call {call_sid} in account {account_sid} with SIPREC.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Siprec/{siprec_sid}.json Update a SIPREC session on a TeXML call · Updates siprec session for a call #
Ask an LLM
“How do I end a SIPREC session on a TeXML call?”
“Can I change the status of a SIPREC session?”
Tell an agent
Set the status of SIPREC session {siprec_sid} on call {call_sid} in account {account_sid} to {status}.
End SIPREC session {siprec_sid} of call {call_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Streams.json Stream media from a TeXML call · Start streaming media from a call #
Ask an LLM
“How do I stream audio from a TeXML call to a WebSocket?”
“Can I stream only one track of a call?”
Tell an agent
Stream media from TeXML call {call_sid} in account {account_sid} to {url}.
Stream the {track} track of call {call_sid} in account {account_sid} to {url}.
POST /texml/Accounts/{account_sid}/Calls/{call_sid}/Streams/{streaming_sid}.json Update a TeXML call stream · Update streaming on a call #
Ask an LLM
“How do I stop streaming media from a TeXML call?”
“Can I pause a call stream?”
Tell an agent
Set the status of stream {streaming_sid} on call {call_sid} in account {account_sid} to {status}.
Stop streaming {streaming_sid} of call {call_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Conferences List TeXML conferences · List conference resources #
Ask an LLM
“Which TeXML conferences exist in my account?”
“Can I filter TeXML conferences by status or creation date?”
Tell an agent
List TeXML conferences in account {account_sid}.
Show TeXML conferences with status {status} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid} Get a TeXML conference · Fetch a conference resource #
Ask an LLM
“What is the status of a TeXML conference?”
“Can I fetch one conference by its conference SID?”
Tell an agent
Show TeXML conference {conference_sid} in account {account_sid}.
Get the status of conference {conference_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Conferences/{conference_sid} Update a TeXML conference · Update a conference resource #
Ask an LLM
“How do I end a TeXML conference?”
“Can I announce something into a conference mid-call?”
Tell an agent
Set the status of TeXML conference {conference_sid} in account {account_sid} to {status}.
Announce {announce_url} into conference {conference_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants List participants in a TeXML conference · List conference participants #
Ask an LLM
“Who is currently in a TeXML conference?”
“Can I see the participant list for a conference?”
Tell an agent
List participants in TeXML conference {conference_sid} in account {account_sid}.
Show who is in conference {conference_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants Dial a new participant into a conference · Dial a new conference participant #
Ask an LLM
“How do I add a new phone caller to an ongoing conference?”
“Can I start a conference when a new participant joins?”
Tell an agent
Dial {To} into conference {conference_sid} on account {account_sid}.
Add {To} to conference {conference_sid} on account {account_sid} with StartConferenceOnEnter {StartConferenceOnEnter}.
DELETE /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label} Remove a participant from a conference · Delete a conference participant #
Ask an LLM
“How do I drop a participant from a conference?”
“Does removing a conference participant end their call leg?”
Tell an agent destructive · confirm first
Remove participant {call_sid_or_participant_label} from conference {conference_sid} on account {account_sid}.
Drop {call_sid_or_participant_label} out of conference {conference_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label} Get a conference participant · Get conference participant resource #
Ask an LLM
“What is the status of a participant in a conference?”
“Can I look up a conference participant by its label?”
Tell an agent
Get participant {call_sid_or_participant_label} in conference {conference_sid} on account {account_sid}.
Show conference participant {call_sid_or_participant_label} for {conference_sid} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Participants/{call_sid_or_participant_label} Mute or hold a conference participant · Update a conference participant #
Ask an LLM
“How do I mute a participant already in a conference?”
“Can I put a conference participant on hold?”
Tell an agent
Mute participant {call_sid_or_participant_label} in conference {conference_sid} on account {account_sid}.
Put participant {call_sid_or_participant_label} on hold in conference {conference_sid} on account {account_sid}.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Recordings List recordings of a conference · List conference recordings #
Ask an LLM
“Where can I find the recordings made in a conference?”
“Which recording IDs belong to a conference?”
Tell an agent
List recordings of conference {conference_sid} on account {account_sid}.
Show the conference recording IDs for {conference_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Conferences/{conference_sid}/Recordings.json Fetch conference recordings as JSON · Fetch recordings for a conference #
Ask an LLM
“Can I fetch conference recordings in JSON format?”
“What does the JSON response for a conference's recordings contain?”
Tell an agent
Fetch conference recordings for {conference_sid} on account {account_sid} as JSON.
Get the JSON list of recordings made in conference {conference_sid} for account {account_sid}.
GET /texml/Accounts/{account_sid}/Queues List call queues · List queue resources #
Ask an LLM
“Which call queues exist in my account?”
“Can I filter queues by when they were created or updated?”
Tell an agent
List the call queues in account {account_sid}.
Show queues created on {DateCreated} in account {account_sid}.
POST /texml/Accounts/{account_sid}/Queues Create a call queue · Create a new queue #
Ask an LLM
“How do I create a new call queue for my account?”
“Can I set a maximum size when creating a queue?”
Tell an agent
Create a call queue named {FriendlyName} in account {account_sid}.
Create a queue with max size {MaxSize} in account {account_sid}.
DELETE /texml/Accounts/{account_sid}/Queues/{queue_sid} Delete a call queue · Delete a queue resource #
Ask an LLM
“How do I permanently remove a call queue?”
“Is deleting a queue permanent?”
Tell an agent destructive · confirm first
Delete call queue {queue_sid} from account {account_sid}.
Permanently remove queue {queue_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Queues/{queue_sid} Get a call queue · Fetch a queue resource #
Ask an LLM
“What are the settings of a specific call queue?”
“Can I fetch one queue by its SID?”
Tell an agent
Get call queue {queue_sid} in account {account_sid}.
Show the settings of queue {queue_sid} for account {account_sid}.
POST /texml/Accounts/{account_sid}/Queues/{queue_sid} Update a call queue's settings · Update a queue resource #
Ask an LLM
“How do I change the maximum queue size for a TeXML call queue?”
“Can I adjust a queue's settings after it has been created?”
Tell an agent
Update queue {queue_sid} in account {account_sid} to a max size of {MaxSize}.
Change the settings of TeXML queue {queue_sid} for account {account_sid}.
GET /texml/Accounts/{account_sid}/Recordings.json List call recordings · Fetch multiple recording resources #
Ask an LLM
“Which recordings exist for my account?”
“Can I filter call recordings by when they were created?”
Tell an agent
List the recordings in account {account_sid}.
Show recordings created on {DateCreated} in account {account_sid}.
DELETE /texml/Accounts/{account_sid}/Recordings/{recording_sid}.json Delete a call recording · Delete recording resource #
Ask an LLM
“How do I delete a recording I no longer need?”
“Can I remove a call recording by its ID?”
Tell an agent destructive · confirm first
Delete recording {recording_sid} from account {account_sid}.
Remove call recording {recording_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Recordings/{recording_sid}.json Get a call recording · Fetch recording resource #
Ask an LLM
“What are the details of one call recording?”
“Can I fetch a recording by its ID?”
Tell an agent
Get recording {recording_sid} in account {account_sid}.
Show the details of call recording {recording_sid} for account {account_sid}.
GET /texml/Accounts/{account_sid}/Transcriptions.json List recording transcriptions · List recording transcriptions #
Ask an LLM
“Which recordings have transcriptions?”
“Can I page through transcription resources for an account?”
Tell an agent
List the recording transcriptions in account {account_sid}.
Show {PageSize} transcriptions per page for account {account_sid}.
DELETE /texml/Accounts/{account_sid}/Transcriptions/{recording_transcription_sid}.json Delete a recording transcription · Delete a recording transcription #
Ask an LLM
“How do I delete a transcription I no longer want?”
“Can I remove a recording transcription by its ID?”
Tell an agent destructive · confirm first
Delete transcription {recording_transcription_sid} from account {account_sid}.
Remove recording transcription {recording_transcription_sid} in account {account_sid}.
GET /texml/Accounts/{account_sid}/Transcriptions/{recording_transcription_sid}.json Get a recording transcription · Fetch a recording transcription resource #
Ask an LLM
“What does a specific recording transcription say?”
“Can I fetch one transcription by its ID?”
Tell an agent
Get transcription {recording_transcription_sid} in account {account_sid}.
Show the text of recording transcription {recording_transcription_sid} for account {account_sid}.
POST /texml/ai_calls/{connection_id} Dial an outbound AI call · Initiate an outbound AI call #
Ask an LLM
“How do I make an outbound call with an AI assistant?”
“Can I pass dynamic variables to an AI assistant on an outbound call?”
Tell an agent
Dial {To} from {From} using AI assistant {AIAssistantId} on connection {connection_id}.
Call {To} from {From} with AI assistant {AIAssistantId} on connection {connection_id} and dynamic variables {AIAssistantDynamicVariables}.
POST /texml/calls/{connection_id} Place an outbound call from a TeXML connection · Create a connection-scoped TeXML call #
Ask an LLM
“How do I dial out to a number through a TeXML application connection?”
“Can I pass my own inline TeXML or a URL to control what happens when the call is answered?”
Tell an agent
Call {To} from connection {connection_id} as {From}.
Dial {To} on TeXML connection {connection_id} from {From} using inline instructions {Texml}.
POST /texml/secrets Create a secret for TeXML templates · Create a TeXML secret #
Ask an LLM
“How do I store a secret value to use in TeXML templates?”
“Are TeXML secrets visible in logs?”
Tell an agent
Create TeXML secret {name} with value {value}.
Store {value} as secret {name} for TeXML templates.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/telnyx:telnyx-texml-rest-commands-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

telnyx-texml-rest-commands-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Telnyx TeXML REST Commands API
  version: 2.0.0
  contact:
    email: support@telnyx.com
  x-endpoint-cost: light
  x-refined-note:
  - x-latency-category differs across the merged source definitions and was not carried
  description: 'Operations tagged TeXML REST Commands across 3 of this provider''s published API definitions: telnyx-openapi.json, telnyx-openapi.yml, telnyx-openapi_2.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.telnyx.com/v2
  description: Version 2.0.0 of the Telnyx API
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (232 KB total) ---
# Full source: https://artifacts.apis.io/telnyx/openapi/telnyx-texml-rest-commands-api-openapi.yml