v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Connect

Generate Telegram code

Generate an access code (valid 15 minutes) for connecting a Telegram channel or group. Add the bot as admin, then send the code + @yourchannel to the bot. Poll PATCH /v1/connect/telegram to check status.

get/v1/connect/telegram

Query parameters

profileIdstring required

The profile ID to connect the Telegram account to

Response

Access code generated

codestring

The access code to send to the Telegram bot

expiresAtstring date-time

When the code expires

expiresIninteger

Seconds until expiration

botUsernamestring

The Telegram bot username to message

instructionsstring[]

Step-by-step connection instructions

Example response

{
  "code": "ZRN-ABC123",
  "expiresIn": 900,
  "botUsername": "LateScheduleBot"
}