cXML Scripts
About​
The cXML (Compatibility XML) Script Resource type is used to create and manage LaML Webhook/Applications.
LAML Webhooks and Applications
cXML Scripts were formerly known as LaML Webhooks and LaML Applications.

The Resource selection menu
Details​
A cXML Script Resource has the following details:
- Hosted Scripts
- External URL
Detail | Description |
---|---|
Name Optional | The unique name for the cXML script resource. |
Script will be used for Optional | The purpose or use-case for the cXML script, such as handling inbound/outbound calls or inbound/outbound messaging. Possible Values: Calling , Messaging , Faxing |
Handle using Optional | Hosted Script is cXML script that will be hosted on SignalWire. |
Primary Script Optional | This is the main cXML script that will run when controlling a call or message. |
Status Change Webhook Optional | As a call or message progresses through the various states of its lifecycle, you can receive updates to your own application. Enter a URL to receive a JSON event when the status of a call or message changes. |
Detail | Description |
---|---|
Name Optional | The unique name for the cXML script resource. |
Script will be used for Optional | The purpose or use-case for the cXML script, such as handling inbound/outbound calls or inbound/outbound messaging. Possible Values: Calling , Messaging , Faxing |
Handle using Optional | External URL indicates the cXML script lives on a remote server. |
Primary script URL Required | The URL that will respond with a valid cXML script that will run when controlling a call or message. |
Fallback script URL Optional | If the primary script cannot be reached or fails in any way, you can define a fallback script to handle the call or message. Defining a fallback ensures calls and messages are still handled even if your application experiences an issue. |
Status Change Webhook Optional | As a call or message progresses through the various states of its lifecycle, you can receive updates to your own application. Enter a URL to receive a JSON event when the status of a call or message changes. |
Learn more​
For more information on Compatibility XML, please refer to the cXML API Documentation.