For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
cXMLREST API
cXMLREST API
  • Core
    • Overview
    • Authorization
    • Error codes
    • Paging
    • REST client SDKs
  • Compatibility REST API
      • GETList All cXML Scripts
      • POSTCreate a cXML Script
      • GETRetrieve a cXML Script
      • POSTUpdate a cXML Script
      • DELDelete a cXML Script
LogoLogoSignalWire Docs
Log inSign up
Support
Compatibility REST APICxml Scripts

List All cXML Scripts

|View as Markdown|Open in Claude|
GET
https://your_space.signalwire.com/api/laml/2010-04-01/Accounts/:AccountSid/LamlBins
GET
/api/laml/2010-04-01/Accounts/:AccountSid/LamlBins
$curl https://your_space.signalwire.com/api/laml/2010-04-01/Accounts/AccountSid/LamlBins \
> -u "<project_id>:<api_token>"
1{
2 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=0&PageSize=50",
3 "first_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=0&PageSize=50",
4 "next_page_uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins?Page=1&PageSize=50&PageToken=PAb3877c40da604998",
5 "previous_page_uri": null,
6 "page": 0,
7 "page_size": 50,
8 "laml_bins": [
9 {
10 "sid": "5184b831-184f-4209-872d-ccdccc80f2f1",
11 "date_created": "2019-11-26T20:00:00Z",
12 "date_updated": "2019-11-26T20:00:00Z",
13 "date_last_accessed": "2020-06-05T20:00:00Z",
14 "account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
15 "name": "Death Star IVR",
16 "contents": "<Response><Say>Hello!</Say></Response>",
17 "request_url": "https://example.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1",
18 "num_requests": 42,
19 "api_version": "2010-04-01",
20 "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1"
21 }
22 ]
23}
Returns a list of your cXML scripts. The scripts are returned sorted by creation date, with the most recent appearing 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](/docs/platform/your-signalwire-api-space).
Was this page helpful?
Previous

Create a cXML Script

Next
Built with

Returns a list of your cXML scripts. The scripts are returned sorted by creation date, with the most recent appearing 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.

Authentication

AuthorizationBasic
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) ```

Path parameters

AccountSidstringRequiredformat: "uuid"
The unique identifier for the account this script is associated with.

Query parameters

NamestringOptional
A friendly name given to the cXML script.
PageintegerOptionalDefaults to 0
The page number to retrieve. Default is 0.
PageSizeintegerOptional1-1000Defaults to 50
The number of items per page. Default is 50, maximum is 1000.
PageTokenstringOptional

The token for cursor-based pagination. Must start with ‘PA’ or ‘PB’.

Response

The request has succeeded.
uristring
The URI of the current page.
first_page_uristring
The URI of the first page.
next_page_uristring or null
The URI of the next page, or null if there are no more pages.
previous_page_uristring or null
The URI of the previous page, or null if this is the first page.
pageinteger
The current page number.
page_sizeinteger
The number of items per page.
laml_binslist of objects
List of cXML scripts.

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error

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)