Generate a code to pair a Telegram account with an agent.
Authorization: Bearer <token> header.
/link <CODE> as a message to your agent’s Telegram bot.telegram_bot_token configured (set during agent creation or update)| Code | Description |
|---|---|
200 | Link code generated successfully |
401 | Unauthorized - invalid or missing authentication |
404 | Agent not found |
400 | Agent does not have Telegram configured |