Update a Phone Number
Updates the specific Phone Number by setting the values of any parameters passed in. Any parameters not provided will be unchanged.
Permissions
The API token must include the following scopes: Numbers.
Path Parameters |
---|
id uuid — REQUIREDUnique ID of the phone number |
Request Body — REQUIRED |
---|
name stringThe name given to the phone number. Helps to distinguish different phone numbers within your project. |
call_handler stringWhat type of handler you want to run on inbound calls. Possible values are: |
call_receive_mode stringHow do you want to receive the incoming call. Possible values are: |
call_request_url stringThe URL to make a request to when using the |
call_request_method stringThe HTTP method to use when making a request to the |
call_fallback_url stringThe fallback URL to make a request to when using the |
call_fallback_method stringThe HTTP method to use when making a request to the |
call_status_callback_url stringThe URL to make status callbacks to when using the |
call_status_callback_method stringThe HTTP method to use when making a request to the |
call_laml_application_id stringThe ID of the LaML Application to use when using the |
call_dialogflow_agent_id stringThe ID of the Dialogflow Agent to start when using the |
call_relay_context stringThe name of the Relay Context to send this call to when using the |
call_relay_application stringThe name of the Relay Application to send this call to when using the |
call_relay_connector_id stringThe ID of the Relay Connector to send this call to when using the |
call_sip_endpoint_id stringThe ID of the Relay SIP Endpoint to send this call to when using the |
call_verto_resource stringThe name of the Verto Relay Endpoint to send this call to when using the |
call_video_room_id uuidThe ID of the Video Room to send this call to when using the |
message_handler stringWhat type of handler you want to run on inbound messages. Possible values are: |
message_request_url stringThe URL to make a request to when using the |
message_request_method stringThe HTTP method to use when making a request to the |
message_fallback_url stringThe fallback URL to make a request to when using the |
message_fallback_method stringThe HTTP method to use when making a request to the |
message_laml_application_id stringThe ID of the LaML Application to use when using the |
message_relay_context stringThe name of the Relay Context to send this message to when using the |
message_relay_application stringThe name of the Relay Application to send this message to when using the |
Responses | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 OK
|