Skip to navigation

Update cXML application

View as MarkdownOpen in Claude

Changes where a cXML Application sends voice and messaging requests and callbacks. Compatibility Update application manages the same application by Application SID; use whichever identifier your integration holds.

Permissions

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

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 a cXML Application.

Request

This endpoint expects an object.
display_namestringOptional
Display name of the cXML Application
account_sidstringOptionalformat: "uuid"
Project ID for the cXML Application
voice_urlstringOptional
URL to handle incoming calls
voice_methodenumOptional
HTTP method for voice URL
Allowed values:
voice_fallback_urlstringOptional
Fallback URL for voice errors
voice_fallback_methodenumOptional
HTTP method for voice fallback URL
Allowed values:
status_callbackstringOptional
URL to receive status callbacks
status_callback_methodenumOptional
HTTP method for status callbacks
Allowed values:
sms_urlstringOptional
URL to handle incoming messages
sms_methodenumOptional
HTTP method for SMS URL
Allowed values:
sms_fallback_urlstringOptional
Fallback URL for SMS errors
sms_fallback_methodenumOptional
HTTP method for SMS fallback URL
Allowed values:
sms_status_callbackstringOptional
URL to receive SMS status callbacks
sms_status_callback_methodenumOptional
HTTP method for SMS status callbacks
Allowed values:

Response

The request has succeeded.
idstringformat: "uuid"
Unique ID of the cXML Application.
project_idstringformat: "uuid"
Unique ID of the Project.
display_namestring
Display name of the cXML Application Fabric Resource
typeenum
Type of the Fabric Resource
Allowed values:
created_atdatetime
Date and time when the resource was created.
updated_atdatetime
Date and time when the resource was updated.
cxml_applicationobject
cXML Application data.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error