Initiate Telegram bot connection
Generates an organization- and workspace-bound bot challenge code (valid 15 minutes).
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Query Parameters
workspace_id?string
Workspace for the connected account. Required only when the organization has Require Workspace ID enabled. In optional mode, omission creates a new organization-scoped identity or preserves an existing identity's current scope on reconnect.
Length
1 <= lengthResponse Body
application/json
application/json
curl -X POST "https://example.com/v1/connect/telegram"{ "bot_username": "string", "code": "string", "expires_at": "2019-08-24T14:15:22Z", "expires_in": 0, "instructions": [ "string" ]}Found something wrong? Help us improve this page.