Skip to main content

Create a dynamic emergency address.

POST 
/dynamic_emergency_addresses

Creates a dynamic emergency address.

Request

Body

required

    house_number stringrequired
    house_suffix string
    street_pre_directional string
    street_name stringrequired
    street_suffix string
    street_post_directional string
    extended_address string
    locality stringrequired
    administrative_area stringrequired
    postal_code stringrequired
    country_code string

    Possible values: [US, CA, PR]

Responses

201: Dynamic Emergency Address Response

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_addresses' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"house_number": 311,
"house_suffix": "string",
"street_pre_directional": "W",
"street_name": "Superior",
"street_suffix": "string",
"street_post_directional": "string",
"extended_address": "string",
"locality": "Chicago",
"administrative_area": "IL",
"postal_code": "60654",
"country_code": "US"
}'

Response samples


{
"data": {
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f1",
"record_type": "dynamic_emergency_address",
"sip_geolocation_id": "XYZ123",
"status": "pending",
"house_number": 311,
"house_suffix": "string",
"street_pre_directional": "W",
"street_name": "Superior",
"street_suffix": "string",
"street_post_directional": "string",
"extended_address": "string",
"locality": "Chicago",
"administrative_area": "IL",
"postal_code": "60654",
"country_code": "US",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}