Retrieve an cXML Bin
GET/Accounts/:AccountSid/LamlBins/:Sid
Retrieves the details of an cXML bin that has been previously created. Use the unique ID that was returned from your previous request to identify the specific instance.
Permissions
The API token must include one of the following scopes: Voice or Messaging or Fax.
Request
Path Parameters
The unique identifier for the account this Bin is associated with.
The unique identifier of the XML Bin on SignalWire. This can be used to show, update, or delete the Bin programmatically.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier of the cXML bin on SignalWire. This can be used to show, update, or delete the Bin programmatically.
5184b831-184f-4209-872d-ccdccc80f2f1
The date and time, in ISO 8601 format, the Bin was created.
2019-11-26T20:00:00Z
The date and time, in ISO 8601 format, the Bin was updated.
Sat, 15 Sept 2018 10:00:00 +0000
The date and time, in ISO 8601 format, the Bin was last accessed.
2020-06-05T20:00:00Z
The unique identifier for the account this Bin is associated with.
b3877c40-da60-4998-90ad-b792e98472af
A friendly name given to the cXML bin to help distinguish and search for different applications within your project.
Death Star IVR
The contents of the cXML bin, this evaluate to valid XML, with additional support for mustache templating.
<Response><Say>Hello!</Say></Response>
The unique URL to the raw contents of the cXML Application. Use this as the URL for configuring webhooks or anything needing the XML returned.
https://your-space.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1
The version of the SignalWire API.
2010-04-01
The URL of this resource.
/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1
{
"sid": "5184b831-184f-4209-872d-ccdccc80f2f1",
"date_created": "2019-11-26T20:00:00Z",
"date_updated": "Sat, 15 Sept 2018 10:00:00 +0000",
"date_last_accessed": "2020-06-05T20:00:00Z",
"account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
"name": "Death Star IVR",
"contents": "<Response><Say>Hello!</Say></Response>",
"request_url": "https://your-space.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1",
"api_version": "2010-04-01",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1"
}