***

title: update
slug: /reference/typescript/rest/calling/update
description: Update parameters on an active call via REST.
max-toc-depth: 3
---------------------

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

Update parameters on an active call, such as the SWML document, URL, or status.

<Note>
  Unlike most calling methods, `update()` does **not** take a positional `callId`
  parameter. Pass all fields (including call identification) in a single object.
</Note>

<EndpointSchemaSnippet endpoint="POST /api/calling/calls" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/calling/calls" />

## **Example**

```typescript {9-11}
import { RestClient } from "@signalwire/sdk";

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

await client.calling.update({
  id: "call-id-xxx",
  url: "https://example.com/new-call-handler",
});
```