# POST /chat-widgets/:widget_id/sessions/:session_id/take-over

**Resource:** [CHAT_WIDGETS](./chat-widgets.md)  
**MCP tool:** `take_over_chat_widget_session`  
**Scopes:** `chat-widgets:write`  
**Write operation:** yes

Take a live chat over from the agent: a person answers from now on and the agent stays quiet. A take over with no reply for 30 minutes goes back to the agent on the visitor's next message.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `widget_id` | path | string | yes | The chat widget id. |
| `session_id` | path | string | yes | The chat id. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/chat-widgets/:widget_id/sessions/:session_id/take-over"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`