---
title: "Retrieve a cXML Script"
method: GET
path: "/Accounts/{AccountSid}/LamlBins/{Sid}"
tags: ["CXML Scripts"]
---

# Retrieve a cXML Script

`GET /Accounts/{AccountSid}/LamlBins/{Sid}`

Retrieves one stored cXML script by LamlBin SID. The same script can be read with [Get cXML Script](/docs/apis/rest/cxml-scripts/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](/docs/platform/your-signalwire-api-space).

## Path parameters

- `AccountSid` string, uuid, required — Universal Unique Identifier.
- `Sid` string, uuid, required — Universal Unique Identifier.

## Response `200`

The request has succeeded.

- CxmlScriptResponse — Response containing a single cXML script.
  - `sid` string, uuid, required — Universal Unique Identifier.
  - `date_created` string, required — The date and time, in ISO 8601 format, the script was created.
  - `date_updated` string, required — The date and time, in ISO 8601 format, the script was updated.
  - `date_last_accessed` string, nullable, required — The date and time, in ISO 8601 format, the script was last accessed, or null if never accessed.
  - `account_sid` string, uuid, required — Universal Unique Identifier.
  - `name` string, required — A friendly name given to the cXML script.
  - `contents` string, required — The contents of the cXML script.
  - `request_url` string, uri, required — The unique URL to the raw contents of the cXML script.
  - `num_requests` integer, required — The number of times this cXML script has been accessed.
  - `api_version` string, required — The version of the SignalWire API.
  - `uri` string, required — The URL of this resource.

## Other responses

- `400` — The request was invalid or cannot be processed. Check the error details for more information.
- `401` — Authentication failed. Please verify your credentials and try again.
- `404` — The requested resource was not found. Please verify the resource identifier.

## Changes

- **2026-05-12** `2916d5e3072e` — 2 breaking, 2 info
  - the `account_sid` response's property type changed from `string` to no type, and format from `uuid` to no format for status `200`
  - the `sid` response's property type changed from `string` to no type, and format from `uuid` to no format for status `200`
  - added `#/components/schemas/uuid` to the `account_sid` response property `allOf` list for the response status `200`
  - added `#/components/schemas/uuid` to the `sid` response property `allOf` list for the response status `200`
- **2026-05-12** `5344c0c93a4c` — 4 info
  - added 'unevaluatedProperties' constraint to the response body for the status `200`
  - added 'unevaluatedProperties' constraint to the response body for the status `400`
  - added 'unevaluatedProperties' constraint to the response body for the status `401`
  - added 'unevaluatedProperties' constraint to the response body for the status `404`
- **2026-03-04** `2e516ba2383f` — 1 breaking
  - response property `date_last_accessed` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2026-03-03** `ecafcc13dcc5` — 2 info
  - api tag `CXML Scripts` added
  - api tag `cXML Scripts` removed
- **2026-02-27** `8891278c1908` — 1 info
  - api operation id `retrieve_cxml_application` removed and replaced with `retrieve_cxml_script`

[Full history](https://skmtc.dev/signalwire/apis/compatibility-api/changes/Accounts/:AccountSid/LamlBins/:Sid/get.md)

---

[API](https://skmtc.dev/signalwire/apis/compatibility-api.md) · [All operations](https://skmtc.dev/signalwire/apis/compatibility-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/signalwire/compatibility-api/revisions/723316346320/schema)
