Server SDKs
Build AI agents, control calls, send messages, and more
Partially update a SIP endpoint for a subscriber. Uses PATCH, so only provided fields are changed.
format: "uuid"
default
1{2 "id": "acaa5c49-be5e-4477-bce0-48f4b23b7720",3 "username": "justice-league",4 "caller_id": "call-id-123",5 "send_as": "+14632322867",6 "ciphers": [7 "AEAD_AES_256_GCM_8"8 ],9 "codecs": [10 "PCMU"11 ],12 "encryption": "optional"13}
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.updateSipEndpoint(10 "subscriber-id",11 "endpoint-id",12 { username: "new-username" }13);14console.log("Updated:", updated.username);