Update a Domain Application

View as Markdown

Updates a Domain Application.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, or Fax.

Learn more about API scopes.

Authentication

AuthorizationBasic
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: ``` Authorization: Basic base64(project_id:token) ```

Path parameters

idstringRequiredformat: "uuid"
Unique ID of the domain application.

Request

This endpoint expects an object.
namestringOptional
A string representing the friendly name for this domain application.
identifierstringOptional
A string representing the identifier portion of the domain application.
userstringOptional
A string representing the user portion of the domain application.
ip_auth_enabledbooleanOptional
Whether the domain application will enforce IP authentication for incoming requests.
ip_authlist of stringsOptional

A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.

encryptionenumOptional
Whether connections to this domain application require encryption or if encryption is optional.
Allowed values:
codecslist of stringsOptional
A list of codecs this domain application will support.
cipherslist of stringsOptional
A list of encryption ciphers this domain application will support.
call_handlerenumOptional
Specify how the domain application will handle calls.
call_relay_topicstringOptional
A string representing the Relay topic to forward incoming calls to.
call_relay_topic_status_callback_urlstringOptional
A string representing a URL to send status change messages to.
call_relay_applicationstringOptional
A string representing the Relay Application to forward incoming calls to.
call_request_urlstringOptional
A string representing the LaML URL to access when a call is received.
call_request_methodenumOptional

A string representing the HTTP method to use with call_request_url.

Allowed values:
call_fallback_urlstringOptional

A string representing the LaML URL to access when the call to call_request_url fails.

call_fallback_methodenumOptional

A string representing the HTTP method to use with call_fallback_url.

Allowed values:
call_status_callback_urlstringOptional
A string representing a URL to send status change messages to.
call_status_callback_methodenumOptional

A string representing the HTTP method to use with call_status_callback_url.

Allowed values:
call_laml_application_idstringOptional
A string representing the ID of the LaML application to forward incoming calls to.
call_video_room_idstringOptionalformat: "uuid"
A string representing the ID of the Video Room to forward incoming calls to.
call_relay_script_urlstringOptional
A string representing the URL of the Relay script to execute when a call is received.
call_dialogflow_agent_idstringOptionalformat: "uuid"
A string representing the ID of the Dialogflow Agent to forward incoming calls to.
call_ai_agent_idstringOptionalformat: "uuid"
A string representing the ID of the AI Agent to forward incoming calls to.
call_flow_idstringOptionalformat: "uuid"
A string representing the ID of the Call Flow to forward incoming calls to.
call_flow_versionenumOptional
A string representing the version of your Call Flow you'd like to use.
Allowed values:
call_relay_contextstringOptionalDeprecated

This handler type is deprecated. Please use call_relay_application or call_relay_topic instead.

call_relay_context_status_callback_urlstringOptionalDeprecated

This property is deprecated. Please use call_relay_topic_status_callback_url instead.

Response

The request has succeeded.
idstringformat: "uuid"
The unique identifier of the domain application on SignalWire.
typestring
A string representation of the type of object this record is.
domainstring
The unique domain for this application, combining your space subdomain and identifier.
namestring or null
A string representing the friendly name for this domain application.
identifierstring
A string representing the identifier portion of the domain application.
userstring
A string representing the user portion of the domain application.
ip_auth_enabledboolean
Whether the domain application will enforce IP authentication for incoming requests.
ip_authlist of strings

A list containing whitelisted IP addresses and IP blocks used if ip_auth_enabled is true.

call_handlerenum or null
Specify how the domain application will handle calls.
calling_handler_resource_idstring or nullformat: "uuid"
The unique identifier of the calling handler resource.
call_relay_topicstring or null
A string representing the Relay topic to forward incoming calls to.
call_relay_topic_status_callback_urlstring or null
A string representing a URL to send status change messages to.
call_request_urlstring or null
A string representing the LaML URL to access when a call is received.
call_request_methodenum or null

A string representing the HTTP method to use with call_request_url.

Allowed values:
call_fallback_urlstring or null

A string representing the LaML URL to access when the call to call_request_url fails.

call_fallback_methodenum or null

A string representing the HTTP method to use with call_fallback_url.

Allowed values:
call_status_callback_urlstring or null
A string representing a URL to send status change messages to.
call_status_callback_methodenum or null

A string representing the HTTP method to use with call_status_callback_url.

Allowed values:
call_laml_application_idstring or null
A string representing the ID of the LaML application to forward incoming calls to.
call_video_room_idstring or nullformat: "uuid"
A string representing the ID of the Video Room to forward incoming calls to.
call_relay_script_urlstring or null
A string representing the URL of the Relay script to execute when a call is received.
encryptionenum
A string representing whether connections to this domain application require encryption or if encryption is optional. Valid values are optional, required, and forbidden.
Allowed values:
codecslist of strings

A list of codecs this domain application will support. Currently supported values are: OPUS, G722, PCMU, PCMA, G729, VP8, and H264.

cipherslist of strings

A list of encryption ciphers this domain application will support. Currently supported values are: AEAD_AES_256_GCM_8, AES_256_CM_HMAC_SHA1_80, AES_CM_128_HMAC_SHA1_80, AES_256_CM_HMAC_SHA1_32, and AES_CM_128_HMAC_SHA1_32.

call_relay_contextstring or nullDeprecated

Deprecated. Use call_relay_application instead.

call_relay_context_status_callback_urlstring or nullDeprecated

Deprecated. Use call_relay_topic_status_callback_url instead.

Errors