***

title: update
slug: /reference/typescript/rest/compat/calls/update
description: Update an active call.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

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

<EndpointSchemaSnippet endpoint="POST /Accounts/{AccountSid}/Calls/{Sid}" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /Accounts/{AccountSid}/Calls/{Sid}" />

## **Example**

```typescript {8}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com",
});

await client.compat.calls.update("CA...", { Status: "completed" });
```