Connect workspace Telegram integration

Connect or replace a workspace Telegram integration.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.

Path parameters

workspaceIdstringRequired
Workspace whose Telegram integration to configure.

Headers

X-Account-IdstringRequired
Account that owns the workspace.

Request

This endpoint expects an object.
botTokenstringRequired
Telegram bot token from BotFather. It is validated when connecting and is never returned.

Response

The connected Telegram integration.
telegramobject
Telegram integration status. Sensitive credentials are not returned.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error