Retrieve a cXML Script
Retrieves one stored cXML script by LamlBin SID. The same script can be read with Get cXML Script, which addresses it by resource ID rather than SID.
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.
Path parameters
Universal Unique Identifier.
The unique identifier for the account this script is associated with.
Universal Unique Identifier.
The unique identifier of the cXML script.
Response
The request has succeeded.
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"
}Changes
Changed in 8 of the 40 revisions of this API.625
- ▲
the
account_sidresponse's property type/format changed fromstring/uuidto/for status200response-property-type-changed
- ▲
the
sidresponse's property type/format changed fromstring/uuidto/for status200response-property-type-changed
- ○
added
uuidto theaccount_sidresponse propertyallOflist for the response status200response-property-all-of-added
- ○
added
uuidto thesidresponse propertyallOflist for the response status200response-property-all-of-added
- ▲
- ○
added 'unevaluatedProperties' constraint to the response body for the status
200response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
400response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
401response-body-unevaluated-properties-added
- ○
added 'unevaluatedProperties' constraint to the response body for the status
404response-body-unevaluated-properties-added
- ○
- ▲
response property
date_last_accessedlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ○
api tag
CXML Scriptsaddedapi-tag-added
- ○
api tag
cXML Scriptsremovedapi-tag-removed
- ○
- ○
api operation id
retrieve_cxml_applicationremoved and replaced withretrieve_cxml_scriptapi-operation-id-removed
- ○
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ▲
the response property
date_last_accessedbecame nullable for the status200response-property-became-nullable
- ○
api tag
cXML Scriptsaddedapi-tag-added
- ○
api tag
cXML Binsremovedapi-tag-removed
- ○
the response property
account_sidbecame required for the status200response-property-became-required
- ○
the response property
api_versionbecame required for the status200response-property-became-required
- ○
the response property
contentsbecame required for the status200response-property-became-required
- ○
the response property
date_createdbecame required for the status200response-property-became-required
- ○
the response property
date_last_accessedbecame required for the status200response-property-became-required
- ○
the response property
date_updatedbecame required for the status200response-property-became-required
- ○
the response property
namebecame required for the status200response-property-became-required
- ○
the response property
request_urlbecame required for the status200response-property-became-required
- ○
the response property
sidbecame required for the status200response-property-became-required
- ○
the response property
uribecame required for the status200response-property-became-required
- ○
added the required property
num_requeststo the response with the200statusresponse-required-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added the new path request parameter
AccountSidnew-request-path-parameter
- ▲
added the new path request parameter
Sidnew-request-path-parameter
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲