Server SDKs
Build AI agents, control calls, send messages, and more
Partially update a cXML webhook resource. Uses PATCH for partial.
format: "uuid"
calling
format: "uri"
POST
1{2 "id": "a87db7ed-8ebe-42e4-829f-8ba5a4152f54",3 "project_id": "99151cf8-9548-4860-ba70-a8de824f3312",4 "display_name": "Booking Assistant",5 "type": "cxml_webhook",6 "created_at": "2024-05-06T12:20:00Z",7 "updated_at": "2024-05-06T12:20:00Z",8 "cxml_webhook": {9 "id": "a87db7ed-8ebe-42e4-829f-8ba5a4152f54",10 "name": "My CXML Webhook",11 "used_for": "calling",12 "primary_request_url": "https://primary.com",13 "primary_request_method": "GET",14 "fallback_request_url": "https://fallback.com",15 "fallback_request_method": "GET",16 "status_callback_url": "https://callback.com",17 "status_callback_method": "POST"18 }19}
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 updated = await client.fabric.cxmlWebhooks.update("webhook-id", {10 name: "updated-name",11});12console.log("Updated:", updated.display_name);