Server SDKs
Build AI agents, control calls, send messages, and more
Create a new RELAY application resource.
format: "uuid"
1{2 "id": "993ed018-9e79-4e50-b97b-984bd5534095",3 "project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",4 "display_name": "Customer Service Bot",5 "type": "relay_application",6 "created_at": "2024-05-06T12:20:00Z",7 "updated_at": "2024-05-06T12:20:00Z",8 "relay_application": {9 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",10 "name": "Booking Assistant",11 "topic": "booking",12 "call_status_callback_url": "https://example.com/callbacks"13 }14}
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 result = await client.fabric.relayApplications.create({10 name: "my-item",11});12console.log(`Created: ${result.id}`);