Move a Telegram group to another bot, in place
Moves the group to `bot`: `own`, the bot that serves the brand's own groups (the brand's, else the org's), or `synq`, back to Synq's. In place: the group, its gate, every member's standing and its window stay, and nobody is muted, unmuted, removed, approved or declined. Refused (409, with what's missing and the fix) until the new bot is an admin there with every right Synq uses (Invite users via link, Ban users, Pin messages; `GET …/bot` says which it lacks, with the link that adds it), while the group is on that bot already, and where the new bot has a row of its own for the chat. Then the new bot makes a new join-request link (`invite_link`), and posts and pins the window's countdown in its topic where one runs, else the group's Verify message where it had one, at once and without a notification; the old bot's are unpinned and edited to one line pointing there, and the old bot leaves, last (`old_bot_left`). A bot can message only people who let it, so nobody the old bot could message can be messaged by the new one until they tap Verify: the window's next reminder says so once, and its `counts.unreachable` says how many. Moving to an own bot needs a plan with `integration.own_bots` (Scale and up); moving back never does. Recorded as `telegram_group.bot_moved`. Needs `org.integrations.edit`.
/v1/orgs/{org}/telegram-groups/{group}/botMoves the group to bot: own, the bot that serves the brand's own groups (the brand's, else the org's), or synq, back to Synq's. In place: the group, its gate, every member's standing and its window stay, and nobody is muted, unmuted, removed, approved or declined. Refused (409, with what's missing and the fix) until the new bot is an admin there with every right Synq uses (Invite users via link, Ban users, Pin messages; GET …/bot says which it lacks, with the link that adds it), while the group is on that bot already, and where the new bot has a row of its own for the chat. Then the new bot makes a new join-request link (invite_link), and posts and pins the window's countdown in its topic where one runs, else the group's Verify message where it had one, at once and without a notification; the old bot's are unpinned and edited to one line pointing there, and the old bot leaves, last (old_bot_left). A bot can message only people who let it, so nobody the old bot could message can be messaged by the new one until they tap Verify: the window's next reminder says so once, and its counts.unreachable says how many. Moving to an own bot needs a plan with integration.own_bots (Scale and up); moving back never does. Recorded as telegram_group.bot_moved. Needs org.integrations.edit.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
The org's id
^org_[0-9a-hjkmnp-tv-z]{26}$The Telegram group's id
^tgg_[0-9a-hjkmnp-tv-z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/telegram-groups/tgg_01h455vb4pex5vsknk084sn02q/bot" \ -H "Authorization: Bearer $SYNQ_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "bot": "own" }'{ "group": { "id": "tgg_01h455vb4pex5vsknk084sn02q", "brand_id": "brd_01h455vb4pex5vsknk084sn02q", "chat_id": "-1001234567890", "title": "RODAI Holders", "username": "string", "kind": "group", "status": "connected", "guard_bot": true, "rights": { "invite_users": true, "restrict_members": true, "pin_messages": true }, "member_count": 0, "invite_link": "string", "own_bot": true, "own_bot_id": "string", "listed": true, "listed_by": "brand", "counts": { "roles": 0, "gated": true, "managed": 0 }, "checked_at": "2026-10-21T12:00:00.000Z", "connected_at": "2026-10-21T12:00:00.000Z" }, "from": { "own_bot_id": "string", "id": "7100000002", "name": "RODAI", "username": "RodaiGateBot" }, "to": { "own_bot_id": "string", "id": "7100000002", "name": "RODAI", "username": "RodaiGateBot" }, "old_bot_left": true}Start connecting a Telegram group POST
A one-time code, good for 15 minutes, and the link that adds Synq's bot to a group as an admin and sends it there; `command` is the same for a bot already in the group. Only an admin of the group can connect it, and people verify on `brand`'s hosted pages: they sign in the way they already do, link Telegram on their member profile and show what they hold with wallets, so the brand must offer wallets (400 at `brand` with the fix otherwise); it needn't offer Telegram sign-in. Synq's bot reads the group and its own rights when the code arrives, and the group is recorded as `telegram_group.connected`. At most 25 groups per org. Needs `org.integrations.edit` and a plan with token gating (403 `plan_feature_unavailable`), and an API with a Telegram bot (409 `telegram_unavailable`).
Read a Telegram group again POST
Reads the group's title and kind, whether Synq's bot is its guard bot, and the bot's rights there from Telegram now: after an admin changed them, or the group became a supergroup. A change is recorded as `telegram_group.updated`; a bot no longer in the group as `telegram_group.bot_removed`. Needs `org.integrations.edit`, and an API with a Telegram bot (409 `telegram_unavailable`).