Skip to main content

Enable E911 on a number

PUT 
/origination/numbers/:id/e911_settings

Enables E911 on a number. The ID supplied can be the telephone number (e.g. +12124567890) or object ID.

Request

Path Parameters

    id stringrequired

    Telephone number (ex: +12124567890) or object ID of number to update

Body

required

Number E911 object

    e911_enabled booleanrequired

    Default value: true

    e911_address_id stringrequired

Responses

200: Number E911 enable

202: Number Emergency Requested

400: Bad request

401: Unauthorized

Request samples


curl -L -X PUT 'https://api.telnyx.com/origination/numbers/:id/e911_settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"e911_enabled": true,
"e911_address_id": "string"
}'

Response samples


{
"id": "string",
"connection_id": "string",
"number_val_e164": "string",
"ignore_tech_prefix": true,
"enable_tech_prefix": false,
"translated_number": "string",
"forwards_to": "string",
"forwarding_type": "string",
"tag_list": [
"string"
],
"status": 1,
"purchase_failure_reason": "string",
"e911_enabled": false,
"e911_address_id": "string",
"emergency_status": "disabled",
"address_id": "string",
"usage_payment_method": "pay-per-minute",
"enable_rtp_auto_adjust": true,
"cnam_listing_enabled": false,
"cnam_listing_details": "string",
"external_pin": "string",
"t38_fax_gateway_enabled": false,
"accept_any_rtp_packets_enabled": false,
"number_val": "string",
"inbound_call_recording_enabled": false,
"inbound_call_recording_format": "wav",
"inbound_call_recording_channels": "single",
"billing_group_id": "string"
}