Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
channels
/
{channel}
Connect Channel
curl --request POST \
  --url https://app.opencomputer.dev/v1/agents/{agentId}/channels/{channel} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "bot_token": "<string>"
}
'
{
  "channel": "telegram",
  "status": "connected"
}

Documentation Index

Fetch the complete documentation index at: https://opensandbox-feat-cf-dev-cutover.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Connect a messaging channel to an agent. CLI equivalent: oc agent connect <id> <channel>
agentId
string
required
Agent ID
channel
string
required
Channel type (e.g. telegram)
bot_token
string
Bot token (required for Telegram)
{
  "channel": "telegram",
  "status": "connected"
}