List All cXML Scripts
Changed onLists the account's stored cXML scripts from the LamlBins collection. These scripts are also available as addressable cXML Scripts in the SignalWire REST API. Use these routes for integrations built around LamlBin SIDs, or cXML Webhooks when your server generates instructions per request. Results are sorted by creation date, most recent first.
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.
Request
- Base URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
- URLhttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/LamlBins
- AuthHTTP basic
Path parameters
Universal Unique Identifier.
The unique identifier for the account this script is associated with.
Query parameters
A friendly name given to the cXML script.
The page number to retrieve. Default is 0.
The number of items per page. Default is 50, maximum is 1000.
The token for cursor-based pagination. Must start with 'PA' or 'PB'.
Response
The request has succeeded.
Example response
{
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=0&PageSize=50",
"first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=0&PageSize=50",
"next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=1&PageSize=50&PageToken=PAb3877c40da604998",
"page_size": 50,
"laml_bins": [
{
"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"
}
]
}Changes
- breaking
the
//response's property type changed fromstringto no type, and format fromuuidto no format for status - breaking
the
//response's property type changed fromstringto no type, and format fromuuidto no format for status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status
- breaking
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the response body for the status
- info
added 'unevaluatedProperties' constraint to the
/response property for the status
- info