Server SDKs
Build AI agents, control calls, send messages, and more
Retrieve a single cXML application resource.
format: "uuid"
1{2 "id": "993ed018-9e79-4e50-b97b-984bd5534095",3 "project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",4 "display_name": "Reception App",5 "type": "cxml_application",6 "created_at": "2024-05-06T12:20:00Z",7 "updated_at": "2024-05-06T12:20:00Z",8 "cxml_application": {9 "id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",10 "project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",11 "friendly_name": "Reception App",12 "voice_url": "https://example.com/voice/incoming",13 "voice_method": "GET",14 "voice_fallback_url": "https://example.com/voice/fallback",15 "voice_fallback_method": "GET",16 "status_callback": "https://example.com/voice/status",17 "status_callback_method": "GET",18 "sms_url": "https://example.com/message/incoming",19 "sms_method": "GET",20 "sms_fallback_url": "https://example.com/message/fallback",21 "sms_fallback_method": "GET",22 "sms_status_callback": "https://example.com/message/status",23 "sms_status_callback_method": "GET"24 }25}
1import { RestClient } from "@signalwire/sdk";23const client = new RestClient({4 project: "your-project-id",5 token: "your-api-token",6 host: "your-space.signalwire.com",7});89const app = await client.fabric.cxmlApplications.get("app-id");10console.log("cXML Application:", app.display_name, "ID:", app.id);