Dynamic Emergency Endpoints

Create a dynamic emergency endpoint.

Changed on

Creates a dynamic emergency endpoint, associating a callback number and location with a device for emergency calling.

post/dynamic_emergency_endpoints

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/dynamic_emergency_endpoints
  • Auth: HTTP bearer

Request body

idstring
record_typestring

Identifies the type of the resource.

dynamic_emergency_address_idstring required

An id of a currently active dynamic emergency location.

status'pending' | 'activated' | 'rejected'

Status of dynamic emergency address

sip_from_idstring
callback_numberstring required
caller_namestring required
created_atstring

ISO 8601 formatted date of when the resource was created

updated_atstring

ISO 8601 formatted date of when the resource was last updated

Example request

{
  "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"
}

Response

Dynamic Emergency Endpoint Response

Example response

{
  "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"
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status