TeXML and TwiML Compatibility
This page provides a comparison of verb support between TeXML and TwiML, helping you understand which features are available in each platform.
Verb Compatibility
| Verb | TwiML Support | TeXML Support |
|---|---|---|
<AIGather> | ❌ Not supported | ✅ Supported |
<Dial> | ✅ Supported | ✅ Supported |
<Enqueue> | ✅ Supported | ✅ Supported |
<Gather> | ✅ Supported | ✅ Supported |
<Hangup> | ✅ Supported | ✅ Supported |
<HttpRequest> | ❌ Not supported | ✅ Supported |
<Leave> | ✅ Supported | ✅ Supported |
<Pause> | ✅ Supported | ✅ Supported |
<Pay> | ✅ Supported | ❌ Not supported |
<Play> | ✅ Supported | ✅ Supported |
<Record> | ✅ Supported | ✅ Supported |
<Redirect> | ✅ Supported | ✅ Supported |
<Refer> | ✅ Supported | ✅ Supported |
<Reject> | ✅ Supported | ✅ Supported |
<Say> | ✅ Supported | ✅ Supported |
<Siprec> | ✅ Supported | ✅ Supported |
<Stop> | ✅ Supported | ✅ Supported |
<Stream> | ✅ Supported | ✅ Supported |
<Suppression> | ✅ Supported | ✅ Supported |
<Transcription> | ✅ Supported | ✅ Supported |
For detailed information about particular TeXML verb click the link under the name of the verb in the table.
Noun Compatibility
| Noun | TwiML Support | TeXML Support |
|---|---|---|
<Client> | ✅ Supported | ❌ Not supported |
<Conference> | ✅ Supported | ✅ Supported |
<Number> | ✅ Supported | ✅ Supported |
<Room> | ✅ Supported | ❌ Not supported |
<Queue> | ✅ Supported | ✅ Supported |
<Sip> | ✅ Supported | ✅ Supported |
<VirtualAgent> | ✅ Supported | ❌ Not supported |
More information about the nouns can be found on <Dial> documentation page
REST API Endpoint Compatibility
The following table outlines the compatibility between Twilio's REST API endpoints and Telnyx's TeXML API endpoints.
| Title | Compatibility | Method | Endpoint |
|---|---|---|---|
| Fetch a call | ✅ Compatible | GET | /Accounts/{AccountSid}/Calls/{CallSid} |
| Update call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid} |
| Fetch multiple call resources | ✅ Compatible | GET | /Accounts/{AccountSid}/Calls |
| Initiate an outbound call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls |
| Fetch a conference resource | ✅ Compatible | GET | /Accounts/{AccountSid}/Conferences/{ConferenceSid} |
| Update a conference resource | ✅ Compatible | POST | /Accounts/{AccountSid}/Conferences/{ConferenceSid} |
| List conference resources | ✅ Compatible | GET | /Accounts/{AccountSid}/Conferences |
| List conference participants | ✅ Compatible | GET | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants |
| Dial a new conference participant | ✅ Compatible | POST | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants |
| List conference recordings | ✅ Compatible | GET | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings |
| Get conference participant resource | ✅ Compatible | GET | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid} |
| Update a conference participant | ✅ Compatible | POST | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid} |
| Delete a conference participant | ✅ Compatible | DELETE | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants/{CallSid} |
| Request recording for a call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Recordings |
| Fetch recordings for a call | ✅ Compatible | GET | /Accounts/{AccountSid}/Calls/{CallSid}/Recordings |
| Update recording on a call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Recordings/{RecordingSid} |
| Fetch multiple recording resources | ✅ Compatible | GET | /Accounts/{AccountSid}/Recordings |
| Fetch recording resource | ✅ Compatible | GET | /Accounts/{AccountSid}/Recordings/{RecordingSid} |
| Delete recording resource | ✅ Compatible | DELETE | /Accounts/{AccountSid}/Recordings/{RecordingSid} |
| Fetch recordings for a conference | ✅ Compatible | GET | /Accounts/{AccountSid}/Conferences/{ConferenceSid}/Recordings |
| Start streaming media from a call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Streams |
| Update streaming on a call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Streams/{StreamSid} |
| Request siprec session for a call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Siprec |
| Updates siprec session for a call | ✅ Compatible | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Siprec/{SiprecSid} |
| List recording transcriptions | ✅ Compatible | GET | /Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions |
| Fetch a recording transcription resource | ✅ Compatible | GET | /Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{TranscriptionSid} |
| Delete a recording transcription | ✅ Compatible | DELETE | /Accounts/{AccountSid}/Recordings/{RecordingSid}/Transcriptions/{TranscriptionSid} |
| Create a Queue resource | ✅ Compatible | POST | /Accounts/{AccountSid}/Queues.json |
| Fetch a Queue resource | ✅ Compatible | GET | /Accounts/{AccountSid}/Queues/{Sid}.json |
| Read multiple Queue resources | ✅ Compatible | GET | /Accounts/{AccountSid}/Queues.json |
| Update a Queue resource | ✅ Compatible | POST | /Accounts/{AccountSid}/Queues/{Sid}.json |
| Delete a Queue resource | ✅ Compatible | DELETE | /Accounts/{AccountSid}/Queues/{Sid}.json |
| Fetch a Member resource | ✅ Compatible | GET | /Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json |
| Read multiple Member resources | ✅ Compatible | GET | /Accounts/{AccountSid}/Queues/{QueueSid}/Members.json |
| Start a Real-Time Transcription | ❌ Not supported | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Transcriptions.json |
| Stop a Real-Time Transcription | ❌ Not supported | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Transcriptions/{Sid}.jsonn |
| Starting a Pay session | ❌ Not supported | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Payments.json |
| Update a Pay session | ❌ Not supported | POST | /Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json |
| Create a UserDefinedMessage | ❌ Not supported | POST | /Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.json |
| Create a UserDefinedMessageSubscription | ❌ Not supported | POST | Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessageSubscriptions.json |
For detailed information about TeXML REST API endpoints and their usage, please use the links to the documentation from the table.