Skip to main content

CXML Applications

CXML Applications are our serverless hosted service that allows you to easily serve static documents without setting up any infrastructure.

THE BIN FORMERLY KNOWN AS LĀML

CXML Applications were previously known as "LāML Bins". laml still appears in endpoint URLs, and the CXML namespace of the REST Client is still titled LaML. Don't worry, it's all CXML!

The CXML Application Object

Example response of a CXML Application

{
"sid": "5184b831-184f-4209-872d-ccdccc80f2f1",
"date_created": "2019-11-26T20:00:00Z",
"date_updated": "2020-05-05T20:00:00Z",
"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://{SPACE}.signalwire.com/laml-bins/5184b831-184f-4209-872d-ccdccc80f2f1",
"num_requests": 1337,
"api_version": "2010-04-01",
"uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/LamlBins/5184b831-184f-4209-872d-ccdccc80f2f1",
}
Attribute
sid stringThe unique identifier of the CXML Application on SignalWire. This can be used to show, update, or delete the Application programmatically.
date_created stringThe date and time, in ISO 8601 format, the Application was created.
date_updated stringThe date and time, in ISO 8601 format, the Application was updated.
date_last_accessed stringThe date and time, in ISO 8601 format, the Application was last accessed.
account_sid stringThe unique identifier for the account this Application is associated with.
name stringA friendly name given to the CXML Application to help distinguish and search for different Applications within your project.
contents stringThe contents of the Application, this evaluate to valid XML, with additional support for mustache templating. You can read more about CXML in our documentation.
request_url stringThe unique URL to the raw contents of the CXML Application. Use this as the URL for configuring webhooks or anything needing the XML returned.
num_requests intThe number of times this Application has been accessed.
api_version stringThe version of the SignalWire API.
uri stringThe URL of this resource.