Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

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

Body

application/json
phone_numbers
string[]
required

Array of phone number ids and/or phone numbers in E164 format to update

emergency_enabled
boolean
required

Indicates whether to enable or disable emergency services on the numbers.

emergency_address_id
string | null

Identifies the address to be used with emergency services. Required if emergency_enabled is true, must be null or omitted if emergency_enabled is false.

Response

Phone numbers enable emergency requested.

data
object
Example: