Skip to main content

List dynamic emergency endpoints

GET 
/dynamic_emergency_endpoints

Returns the dynamic emergency endpoints according to filters

Request

Query Parameters

    filter[status] string

    Possible values: [pending, activated, rejected]

    Filter by status.

    filter[country_code] string

    Filter by country code.

    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

Responses

200: Dynamic Emergency Endpoints Responses

401: Unauthorized

404: Resource not found

422: Unprocessable entity. Check message field in response for details.

Request samples


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

Response samples


{
"data": [
{
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
"record_type": "dynamic_emergency_endpoint",
"dynamic_emergency_address_id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
"status": "pending",
"sip_from_id": "FXDFWEDF",
"callback_number": "+13125550000",
"caller_name": "Jane Doe Desk Phone",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"meta": {
"total_pages": 13,
"total_results": 13,
"page_number": 3,
"page_size": 1
}
}