> ## Documentation Index
> Fetch the complete documentation index at: https://opensandbox-oc-s-762ac928075c46d2828bcb22.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Channel

Connect a messaging channel to an agent.

**CLI equivalent:** `oc agent connect <id> <channel>`

<ParamField path="agentId" type="string" required>
  Agent ID
</ParamField>

<ParamField path="channel" type="string" required>
  Channel type (e.g. `telegram`)
</ParamField>

<ParamField body="bot_token" type="string">
  Bot token (required for Telegram)
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "channel": "telegram",
    "status": "connected"
  }
  ```
</ResponseExample>
