Updates a SIP Credential by ID
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
If call_handler is set to resource, this field will contain the id of the set resouce. Will be null otherwise.
Specify how the SIP endpoint will handle outbound calls.
calling_handler_resource_id to a valid resource. This enables custom call handling workflows for outbound calls.When dialing a PSTN phone number, you must send it From a number you have purchased or verified. send_as indicates which number this endpoint has set as its origination. random indicates it will randomly choose a purchased or verified number from within the project.
A string representing the LaML URL to access when a call is received. This is only used (and required) when call_handler is set to laml_webhooks.
A string representing the HTTP method to use with call_request_url. Valid values are GET and POST.
A string representing the LaML URL to access when the call to call_request_url fails. This is only used (and required) when call_handler is set to laml_webhooks.
A string representing the HTTP method to use with call_fallback_url. Valid values are GET and POST.
A string representing a URL to send status change messages to. This is only used (and required) when call_handler is set to laml_webhooks.
A string representing the HTTP method to use with call_status_callback_url. Valid values are GET and POST.
A string representing the ID of the LaML application to forward incoming calls to. This is only used (and required) when call_handler is set to laml_application.
A string representing the ID of the Dialogflow agent to forward incoming calls to. This is only used (and required) when call_handler is set to dialogflow.
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.
A string representing the Relay context to forward incoming calls to. This is only used (and required) when call_handler is set to relay_context.
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.
A string representing the Relay application to forward incoming calls to. This is only used (and required) when call_handler is set to relay_application.
A string representing the ID of the Video Room to forward incoming calls to. This is only used (and required) when call_handler is set to video_room.
A string representing a URL of a SWML script to respond to incoming calls. This is only used (and required) when call_handler is set to relay_script.
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example: