Skip to main content

List call control applications

GET 
/call_control_applications

Return a list of call control applications.

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

    filter[application_name][contains] string

    Default value: null

    If present, applications with application_name containing the given value will be returned. Matching is not case-sensitive. Requires at least three characters.

    filter[outbound.outbound_voice_profile_id] int64

    Identifies the associated outbound voice profile.

    sort string

    Possible values: [created_at, connection_name, active]

    Default value: created_at

    Specifies the sort order for results. By default sorting direction is ascending. To have the results sorted in descending order add the - prefix.

    That is:

    • connection_name: sorts the result by the connection_name field in ascending order.
    • -connection_name: sorts the result by the connection_name field in descending order.

    If not given, results are sorted by
    created_at
    in descending order.

Responses

200: Successful response with a list of call control applications.

400: Bad request

401: Unauthorized

404: Resource not found

Request samples


curl -L 'https://api.telnyx.com/v2/call_control_applications' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"active": false,
"anchorsite_override": "\"Latency\"",
"application_name": "call-router",
"created_at": "2018-02-02T22:25:27.521Z",
"dtmf_type": "Inband",
"first_command_timeout": true,
"first_command_timeout_secs": 10,
"id": "1293384261075731499",
"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"
},
"record_type": "call_control_application",
"updated_at": "2018-02-02T22:25:27.521Z",
"webhook_api_version": "1",
"webhook_event_failover_url": "https://failover.example.com",
"webhook_event_url": "https://example.com",
"webhook_timeout_secs": 25
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}