Create a cXML Script
Creates a stored cXML document through the LamlBins route. The new script is also available as an addressable cXML Script resource. Use this form-encoded route when existing code expects a LamlBin SID, Create cXML Script for a JSON request, or Create cXML webhook when instructions come from your server.
Permissions
The API token used to authenticate must have at least one of the following scopes enabled to make a successful request: Calling, Messaging, or Fax.
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)