Appearance
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
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.
Parameters
profileId(query, string) required — The profile ID to connect the Telegram account to
Responses
200 — Access code generated
code(string) — The access code to send to the Telegram botexpiresAt(string) — When the code expiresexpiresIn(integer) — Seconds until expirationbotUsername(string) — The Telegram bot username to messageinstructions(array) — Step-by-step connection instructions
400 — Profile ID required or invalid format
401
403 — No access to this profile
404 — Profile not found
500 — Internal error