Skip to main content

Get DID Emergency

This request returns data for DID emergency, targeted by the DID secure ID.

get /phonenumber/dids/{did_sid}/emergency

Sample

A sample GET request to get the DID Emergency object for the DID, targeted by secure ID:

curl -X GET \
'https://api.carrierx.com/core/v2/phonenumber/dids/0493d917-e23c-41db-8067-0c986df71007/emergency' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

200 status code with a list of the DID Emergency object:

{
"caller_name": "John Smith",
"enabled": true,
"locations": [
{
"address_1": "8104 E Nora Ave",
"address_2": "",
"city": "Spokane Valley",
"country_code": "USA",
"state": "WA",
"zip": "99212"
},
{
"address_1": "600 Boll Weevil Cir",
"address_2": "",
"city": "Enterprise",
"country_code": "USA",
"state": "AL",
"zip": "36330"
}
]
}

This request is enabled for Field Filtering.

Required Scopes

To get information about DID Emergency objects, the partner must have one of the following scopes enabled:

  • phonenumber.emergency.manage
  • phonenumber.emergency.read

Path Arguments

ParameterData TypeDescription
did_sid requiredstringThe DID secure ID.