# Get a phone handoff

Fetches a phone handoff.

```http
GET https://api.pozy.ai/v1/connect/handoffs/{handoffId}
```

- Area: Accounts & connections / Connect
- Auth: Authorization: Bearer pz_live_...

## Path parameters

- `handoffId` (string (uuid), required)

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/connect/handoffs/6b93209527e9f48ca95651e3" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/connect/handoffs/6b93209527e9f48ca95651e3", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/connect/handoffs/6b93209527e9f48ca95651e3",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `id`, string (uuid)
- `status`, string: One of `waiting`, `opened`, `connected`, `failed`, `expired`
- `platform`, string
- `accounts`, array of object
  - `id`, string
  - `profileId`, string
  - `username`, string
- `error`, object: Can be null
  - `code`, string
  - `message`, string: Can be null
  - `details`, map of string

```json
{
  "id": "6bfebd43ddc270f6d2c56fc5",
  "status": "waiting",
  "platform": "instagram",
  "accounts": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "profileId": "6a0b6573846efc28aaa9a3ff",
      "username": "acme"
    }
  ],
  "error": {
    "code": "string",
    "message": "Hello from Pozy",
    "details": {
      "key": "string"
    }
  }
}
```
