Create cXML Script
Creates a resource that stores cXML instructions in SignalWire for a calling or messaging handler. Use it when the cXML can be managed as a Fabric resource; use Create cXML webhook when your server returns cXML per request, or Compatibility Create a cXML Script for a form-encoded LamlBin request.
Permissions
The API token used to authenticate must have at least one of the following scopes enabled to make a successful request: Calling, Messaging, Fax, or Video.
Authentication
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)