Skip to main content
GET
/
texml_applications
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const texmlApplications = await client.texmlApplications.list();

console.log(texmlApplications.data);
{
  "data": [
    {
      "id": "1293384261075731499",
      "record_type": "texml_application",
      "active": false,
      "friendly_name": "call-router",
      "anchorsite_override": "Amsterdam, Netherlands",
      "dtmf_type": "Inband",
      "first_command_timeout": true,
      "first_command_timeout_secs": 10,
      "voice_url": "https://example.com",
      "voice_fallback_url": "https://fallback.example.com",
      "call_cost_in_webhooks": false,
      "voice_method": "get",
      "status_callback": "https://example.com",
      "status_callback_method": "get",
      "tags": [
        "tag1",
        "tag2"
      ],
      "inbound": {
        "channel_limit": 10,
        "shaken_stir_enabled": true,
        "sip_subdomain": "example",
        "sip_subdomain_receive_settings": "only_my_connections"
      },
      "outbound": {
        "channel_limit": 10,
        "outbound_voice_profile_id": "1293384261075731499"
      },
      "created_at": "2020-02-02T22:25:27.521Z",
      "updated_at": "2020-02-03T22:25:27.521Z"
    }
  ],
  "meta": {
    "total_pages": 3,
    "total_results": 55,
    "page_number": 2,
    "page_size": 25
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
object

Consolidated page parameter (deepObject style). Originally: page[size], page[number]

filter
object

Consolidated filter parameter (deepObject style). Originally: filter[outbound_voice_profile_id], filter[friendly_name]

sort
enum<string>
default:created_at

Specifies the sort order for results. By default sorting direction is ascending. To have the results sorted in descending order add the <code> -</code> prefix.<br/><br/> That is: <ul>

<li> <code>friendly_name</code>: sorts the result by the <code>friendly_name</code> field in ascending order. </li> <li> <code>-friendly_name</code>: sorts the result by the <code>friendly_name</code> field in descending order. </li> </ul> <br/> If not given, results are sorted by <code>created_at</code> in descending order.
Available options:
created_at,
friendly_name,
active
Example:

"friendly_name"

Response

Successful response

data
Texml Application · object[]
meta
object