Dynamic Emergency Endpoints

Create a dynamic emergency endpoint.

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

post/dynamic_emergency_endpoints

Request body

callback_numberstring required
caller_namestring required
created_atstring

ISO 8601 formatted date of when the resource was created

dynamic_emergency_address_idstring required

An id of a currently active dynamic emergency location.

idstring
record_typestring

Identifies the type of the resource.

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

Status of dynamic emergency address

updated_atstring

ISO 8601 formatted date of when the resource was last updated

Example request

{
  "callback_number": "+13125550000",
  "caller_name": "Jane Doe Desk Phone",
  "created_at": "2018-02-02T22:25:27.521Z",
  "dynamic_emergency_address_id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
  "id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
  "record_type": "dynamic_emergency_endpoint",
  "sip_from_id": "FXDFWEDF",
  "status": "pending",
  "updated_at": "2018-02-02T22:25:27.521Z"
}

Response

Dynamic Emergency Endpoint Response

Example response

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

Changes

Changed in 2 of the 61 revisions of this API.10

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 400

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 401

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 404

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 422

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 500

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 400

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 401

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 404

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 422

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 500

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog