Check out our upcoming events and meetups! View events →
Creates a dynamic emergency address.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const dynamicEmergencyAddress = await client.dynamicEmergencyAddresses.create({
administrative_area: 'TX',
country_code: 'US',
house_number: '600',
locality: 'Austin',
postal_code: '78701',
street_name: 'Congress',
});
console.log(dynamicEmergencyAddress.data);{
"data": {
"house_number": "600",
"street_name": "Congress",
"locality": "Austin",
"administrative_area": "TX",
"postal_code": "78701",
"country_code": "US",
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f1",
"record_type": "dynamic_emergency_address",
"sip_geolocation_id": "XYZ123",
"status": "pending",
"house_suffix": "<string>",
"street_pre_directional": "<string>",
"street_suffix": "St",
"street_post_directional": "<string>",
"extended_address": "<string>",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"600"
"Congress"
"Austin"
"TX"
"78701"
US, CA, PR "US"
"St"
Dynamic Emergency Address Response
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const dynamicEmergencyAddress = await client.dynamicEmergencyAddresses.create({
administrative_area: 'TX',
country_code: 'US',
house_number: '600',
locality: 'Austin',
postal_code: '78701',
street_name: 'Congress',
});
console.log(dynamicEmergencyAddress.data);{
"data": {
"house_number": "600",
"street_name": "Congress",
"locality": "Austin",
"administrative_area": "TX",
"postal_code": "78701",
"country_code": "US",
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f1",
"record_type": "dynamic_emergency_address",
"sip_geolocation_id": "XYZ123",
"status": "pending",
"house_suffix": "<string>",
"street_pre_directional": "<string>",
"street_suffix": "St",
"street_post_directional": "<string>",
"extended_address": "<string>",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}