Update cXML Application

View as Markdown

Updates a cXML Application by ID

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
voice_fallback_urlstringOptional
Fallback URL for voice errors
voice_fallback_methodenumOptional
HTTP method for voice fallback URL
status_callbackstringOptional
URL to receive status callbacks
status_callback_methodenumOptional
HTTP method for status callbacks
sms_urlstringOptional
URL to handle incoming messages
sms_methodenumOptional
HTTP method for SMS URL
sms_fallback_urlstringOptional
Fallback URL for SMS errors
sms_fallback_methodenumOptional
HTTP method for SMS fallback URL
sms_status_callbackstringOptional
URL to receive SMS status callbacks
sms_status_callback_methodenumOptional
HTTP method for SMS status callbacks

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