Telegram integration
A Telegram integration connects a workspace to a Telegram bot. Once connected, messages sent to the bot are answered by the workspace’s assistant. A workspace has at most one Telegram integration.
What the API exposes
GET /v1/workspaces/{workspaceId}/integrations/telegram returns a redacted status:
The bot token and webhook secret are never returned by the API — only the bot’s public identity above.
Connecting
-
Create a bot with Telegram’s BotFather and copy its bot token.
-
Connect it to the workspace, passing the token in the
botTokenfield:The body has a single required field,
botToken(string) — the bot token from BotFather. The token is validated during connection and is never returned.
Connecting is idempotent: because a workspace has at most one Telegram integration, calling this again replaces the existing one and re-registers the webhook — useful for rotating a bot token.
Disconnecting
DELETE /v1/workspaces/{workspaceId}/integrations/telegram disconnects the bot from the workspace.

