CXML Scripts
Create a cXML Script
Create a cXML script.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice or Messaging or Fax.
Learn more about API scopes.
post/Accounts/{AccountSid}/LamlBins
Path parameters
AccountSidstring uuid required
Universal Unique Identifier.
The unique identifier for the account this script is associated with.
Response
Response returned when a cXML script is created.
Example response
{
"date_created": "2019-11-26T20:00:00Z",
"date_updated": "2019-11-26T20:00:00Z",
"date_last_accessed": "2020-06-05T20:00:00Z",
"name": "Death Star IVR",
"contents": "<Response><Say>Hello!</Say></Response>",
"request_url": "https://example.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1",
"num_requests": 42,
"api_version": "2010-04-01",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1"
}