Server SDKs
Build AI agents, control calls, send messages, and more
Replace a subscriber resource. Uses PUT, so the full resource body must be provided.
format: "uuid"
8-72 characters
1{2 "id": "d369a402-7b43-4512-8735-9d5e1f387814",3 "project_id": "d369a402-7b43-4512-8735-9d5e1f387814",4 "display_name": "John Doe",5 "type": "subscriber",6 "created_at": "2024-05-06T12:20:00Z",7 "updated_at": "2024-05-06T12:20:00Z",8 "subscriber": {9 "id": "d369a402-7b43-4512-8735-9d5e1f387814",10 "email": "johndoe@example.com",11 "first_name": "John",12 "last_name": "Doe",13 "display_name": "John Doe",14 "job_title": "Software Engineer",15 "timezone": "America/New_York",16 "country": "United States",17 "company_name": "SignalWire"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.subscribers.update("subscriber-id", {10 name: "bob"11});12console.log("Updated:", updated.display_name);