Skip to main content
POST
/
dynamic_emergency_addresses
JavaScript
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);
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
house_number
string
required
Example:

"600"

street_name
string
required
Example:

"Congress"

locality
string
required
Example:

"Austin"

administrative_area
string
required
Example:

"TX"

postal_code
string
required
Example:

"78701"

country_code
enum<string>
required
Available options:
US,
CA,
PR
Example:

"US"

house_suffix
string
street_pre_directional
string
street_suffix
string
Example:

"St"

street_post_directional
string
extended_address
string

Response

Dynamic Emergency Address Response

data
object