Server SDKs
Build AI agents, control calls, send messages, and more
Deploy a specific version of a call flow resource.
format: "uuid"
1{2 "id": "993ed018-9e79-4e50-b97b-984bd5534095",3 "created_at": "2024-01-02T00:00:00Z",4 "updated_at": "2024-01-02T00:00:00Z",5 "document_version": 2,6 "flow_data": {},7 "relayml": {8 "sections": {9 "main": [10 {11 "denoise": {},12 "play": {13 "url": "https://cdn.signalwire.com/swml/audio.mp3"14 }15 }16 ]17 },18 "version": "1.0.0"19 }20}
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.callFlows.deployVersion("call-flow-id", {10 call_flow_version_id: "version-id",11});12console.log(`Deployed version: ${result.id}`);