Import a Phone Number
Authentication
Request
The phone number to import in E.164 format. Number must be between 5 and 30 characters with no special characters besides a leading +.
Response
The URL to make a request to when using the laml_webhooks call handler.
The HTTP method to use when making a request to the call_request_url.
The fallback URL to make a request to when using the laml_webhooks call handler and the call_request_url fails.
The HTTP method to use when making a request to the call_fallback_url.
The URL to make status callbacks to when using the laml_webhooks call handler.
The HTTP method to use when making a request to the call_status_callback_url.
The ID of the LaML Application to use when using the laml_application call handler.
A string representing the Relay topic to forward incoming calls to. This is only used (and required) when call_handler is set to relay_topic.
A string representing a URL to send status change messages to. This is only used (and required) when call_handler is set to relay_topic.
The URL to make a request to when using the relay_script call handler. The URL must respond with a valid SWML script.
The name of the Relay Context to send this call to when using the relay_context call handler.
A string representing a URL to send status change messages to. This is only used (and required) when call_handler is set to relay_context.
The name of the Relay Application to send this call to when using the relay_application call handler.
The ID of the Relay Connector to send this call to when using the relay_connector call handler.
The ID of the Relay SIP Endpoint to send this call to when using the relay_sip_endpoint call handler.
The name of the Verto Relay Endpoint to send this call to when using the relay_verto_endpoint call handler.
The ID of the Video Room to send this call to when using the video_room call handler.
The URL to make a request to when using the laml_webhooks message handler.
The HTTP method to use when making a request to the message_request_url.
The fallback URL to make a request to when using the laml_webhooks message handler and the message_request_url fails.
The HTTP method to use when making a request to the message_fallback_url.
The ID of the LaML Application to use when using the laml_application message handler.
The name of the Relay Topic to send this message to when using the relay_topic message handler.
The name of the Relay Context to send this message to when using the relay_context message handler.
The ISO 3166-1 alpha-2 country code of the phone number.