Connect a bot of the org’s own, to post in its channel or group
Needs the plan's `integrations.telegram_bot` (AERO-1146). Telegram checks the token with getMe, and the bot must already be in the chat and able to post: in a channel, an admin allowed to post. The bot then posts the org's cleanups there, and joins the org's connected chats in this card. A bot the org connected before that went off is replaced.
/v1/orgs/{orgId}/telegram/botNeeds the plan's integrations.telegram_bot (AERO-1146). Telegram checks the token with getMe, and the bot must already be in the chat and able to post: in a channel, an admin allowed to post. The bot then posts the org's cleanups there, and joins the org's connected chats in this card. A bot the org connected before that went off is replaced.
Authorization
synq bnc.writeA Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Scope: bnc.write
Path Parameters
The organization's id
^org_[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
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/v1/orgs/string/telegram/bot" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "chat": "@burnandclaim" }'{ "available": true, "entitled": true, "bot": { "username": "string", "state": "active", "disabledReason": "string", "chat": { "id": 0, "type": "group", "title": "string", "username": "string", "canPost": true, "lastError": "string" }, "connectedAt": "2026-10-21T12:00:00.000Z" }}Turn emails on or off; security and billing stay on PUT
Turns emails on or off for the kinds named; security and billing stay on whatever is asked. Any member.
Prove control of a payout address POST
Answers a `payout_address` challenge, by its signature or by the memo transaction the address landed. Each challenge proves once; a replay is `challenge_used`. Says whether the address can receive a share of any size today.