cXML Scripts
Get cXML Script
Returns a cXML Script by ID
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Learn more about API scopes.
get/api/fabric/resources/cxml_scripts/{id}
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of a cXML Script.
Response
The request has succeeded.
Example response
{
"name": "Reception Script",
"type": "cxml_script",
"created_at": "2024-05-06T12:20:00Z",
"updated_at": "2024-05-06T12:20:00Z",
"cxml_script": {
"contents": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Response><Say>Hello World</Say></Response>",
"request_count": 5,
"last_accessed_at": "2023-10-01T12:00:00Z",
"request_url": "https://example.signalwire.com/laml-bins/2537c89e-2606-48c2-b3c2-bb601d863d1e",
"script_type": "calling",
"display_name": "Booking Assistant Script",
"status_callback_url": "https://example.com/cxml/status"
}
}