Returns a list of your TeXML Applications.
Successful response
Array of objects (Texml Application) | |
object (PaginationMeta) |
Bad request
Unauthorized
Resource not found
{- "data": [
- {
- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "created_at": "2020-02-02T22:25:27.521Z",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "id": "1293384261075731499",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "record_type": "texml_application",
- "status_callback_method": "get",
- "updated_at": "2020-02-03T22:25:27.521Z",
- "voice_method": "get",
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Creates a TeXML Application.
Parameters that can be set when creating a TeXML Application
Successful response
Bad request
{- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "status_callback_method": "get",
- "voice_method": "get",
}
{- "data": {
- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "created_at": "2020-02-02T22:25:27.521Z",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "id": "1293384261075731499",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "record_type": "texml_application",
- "status_callback_method": "get",
- "updated_at": "2020-02-03T22:25:27.521Z",
- "voice_method": "get",
}
}
Deletes a TeXML Application.
Successful response
object (TexmlApplication) | |||||||||||||||||||||||||||||||||||
|
Unauthorized
Resource not found
Bad request
{- "data": {
- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "created_at": "2020-02-02T22:25:27.521Z",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "id": "1293384261075731499",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "record_type": "texml_application",
- "status_callback_method": "get",
- "updated_at": "2020-02-03T22:25:27.521Z",
- "voice_method": "get",
}
}
Retrieves the details of an existing TeXML Application.
Successful response
object (TexmlApplication) | |||||||||||||||||||||||||||||||||||
|
Unauthorized
Resource not found
Bad request
{- "data": {
- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "created_at": "2020-02-02T22:25:27.521Z",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "id": "1293384261075731499",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "record_type": "texml_application",
- "status_callback_method": "get",
- "updated_at": "2020-02-03T22:25:27.521Z",
- "voice_method": "get",
}
}
Updates settings of an existing TeXML Application.
Parameters that can be updated in a TeXML Application
active | boolean (ConnectionActive) Specifies whether the connection can be used. |
anchorsite_override | string (AnchorsiteOverride)
|
dtmf_type | string (DtmfType) Sets the type of DTMF digits sent from Telnyx to this Connection. Note that DTMF digits sent to Telnyx will be accepted in all formats. |
first_command_timeout | boolean (FirstCommandTimeout) Specifies whether calls to phone numbers associated with this connection should hangup after timing out. |
first_command_timeout_secs | integer (FirstCommandTimeoutSecs) Specifies how many seconds to wait before timing out a dial command. |
friendly_name required | string (ApplicationName) A user-assigned name to help manage the application. |
object | |
object | |
status_callback | string <url> Default: null URL for Telnyx to send requests to containing information about call progress events. |
status_callback_method | string Default: "post" HTTP request method Telnyx should use when requesting the status_callback URL. |
voice_fallback_url | string <url> Default: null URL to which Telnyx will deliver your XML Translator webhooks if we get an error response from your voice_url. |
voice_method | string Default: "post" HTTP request method Telnyx will use to interact with your XML Translator webhooks. Either 'get' or 'post'. |
voice_url required | string <url> URL to which Telnyx will deliver your XML Translator webhooks. |
Successful response
object (TexmlApplication) | |||||||||||||||||||||||||||||||||||
|
Unauthorized
Resource not found
Bad request
{- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "status_callback_method": "get",
- "voice_method": "get",
}
{- "data": {
- "active": false,
- "anchorsite_override": "Amsterdam, Netherlands",
- "created_at": "2020-02-02T22:25:27.521Z",
- "dtmf_type": "Inband",
- "first_command_timeout": true,
- "first_command_timeout_secs": 10,
- "friendly_name": "call-router",
- "id": "1293384261075731499",
- "inbound": {
- "channel_limit": 10,
- "sip_subdomain": "example",
- "sip_subdomain_receive_settings": "only_my_connections"
}, - "outbound": {
- "channel_limit": 10,
- "outbound_voice_profile_id": "1293384261075731499"
}, - "record_type": "texml_application",
- "status_callback_method": "get",
- "updated_at": "2020-02-03T22:25:27.521Z",
- "voice_method": "get",
}
}