Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Dynamic Emergency Address id
Response
Dynamic Emergency Address Response
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const dynamicEmergencyAddress = await client.dynamicEmergencyAddresses.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
console.log(dynamicEmergencyAddress.data);{
"data": {
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f1",
"record_type": "dynamic_emergency_address",
"sip_geolocation_id": "XYZ123",
"status": "pending",
"house_number": 600,
"house_suffix": "<string>",
"street_pre_directional": "<string>",
"street_name": "Congress",
"street_suffix": "St",
"street_post_directional": "<string>",
"extended_address": "<string>",
"locality": "Austin",
"administrative_area": "TX",
"postal_code": "78701",
"country_code": "US",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}Returns the dynamic emergency address based on the ID provided
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const dynamicEmergencyAddress = await client.dynamicEmergencyAddresses.retrieve(
'182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
);
console.log(dynamicEmergencyAddress.data);{
"data": {
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f1",
"record_type": "dynamic_emergency_address",
"sip_geolocation_id": "XYZ123",
"status": "pending",
"house_number": 600,
"house_suffix": "<string>",
"street_pre_directional": "<string>",
"street_name": "Congress",
"street_suffix": "St",
"street_post_directional": "<string>",
"extended_address": "<string>",
"locality": "Austin",
"administrative_area": "TX",
"postal_code": "78701",
"country_code": "US",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Dynamic Emergency Address id
Dynamic Emergency Address Response
Show child attributes
Was this page helpful?