update

View as MarkdownOpen in Claude

Update an active call (e.g., redirect to new LAML, end the call). Uses POST (Twilio convention).

Response Example

Example

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com",
7});
8
9await client.compat.calls.update("CA...", { Status: "completed" });