# POST /conversation-flows/:flow_id/switch

**Resource:** [CONVERSATION_FLOWS](./conversation-flows.md)  
**MCP tool:** `switch_conversation_flow`  
**Scopes:** `automations:write`  
**Write operation:** yes

Switch a published conversation flow on (it answers new messages on its channels) or off (people mid-flow stop at their next message). Switching on checks the live flow still fits the workspace; warnings name other switched-on flows that start on the same keywords.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `flow_id` | path | string | yes | The flow (list_conversation_flows). |
| `enabled` | body | boolean | yes | true switches the live flow on (it answers new messages), false switches it off (people mid-flow stop at their next message). Switching on needs a published version. |
| `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/conversation-flows/:flow_id/switch"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"enabled":"...","require_approval":"..."}'
```

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