***

title: transfer
slug: /reference/typescript/rest/calling/transfer
description: Transfer an active call to a new destination via REST.
max-toc-depth: 3
---------------------

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

Transfer an active call to a new destination. The current call leg is replaced
by a new connection to the specified target.

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

## **Response Example**

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

## **Example**

```typescript {9}
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.transfer("call-id-xxx", {
  dest: { type: "phone", params: { to_number: "+15559876543" } }
});
```