Read the own bots that serve a brand
On each platform, the bot a server or group of the brand added with `own_bot: true` is served by: the brand's own (`brand_id` is the brand), else the org's (`brand_id` null), else null, when only Synq's can serve it. Never a token or client secret. Needs `org.integrations.view` in the brand.
/v1/orgs/{org}/brands/{brand}/own-botsOn each platform, the bot a server or group of the brand added with own_bot: true is served by: the brand's own (brand_id is the brand), else the org's (brand_id null), else null, when only Synq's can serve it. Never a token or client secret. Needs org.integrations.view in the brand.
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 brand's id
^brd_[0-9a-hjkmnp-tv-z]{26}$Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/brands/brd_01h455vb4pex5vsknk084sn02q/own-bots" \ -H "Authorization: Bearer $SYNQ_API_KEY"{ "discord": { "id": "bot_01h455vb4pex5vsknk084sn02q", "platform": "discord", "brand_id": "brd_01h455vb4pex5vsknk084sn02q", "external_id": "1203847562019384756", "name": "Mollyverse Bot", "username": "MollyverseBot", "serves": 0, "sign_in_brands": [ "string" ], "setup": { "interactions_endpoint_url": "https://app.acme.example", "redirect_uri": "https://app.acme.example", "webhook_url": "https://app.acme.example", "trusted_origins": [ "https://acme.auth.synq.build", "https://login.acme.example" ], "allowed_urls": [ "https://acme.auth.synq.build/federation/telegram/callback", "https://login.acme.example/federation/telegram/callback" ] }, "created_at": "2026-10-21T12:00:00.000Z", "updated_at": "2026-10-21T12:00:00.000Z" }, "telegram": { "id": "bot_01h455vb4pex5vsknk084sn02q", "platform": "discord", "brand_id": "brd_01h455vb4pex5vsknk084sn02q", "external_id": "1203847562019384756", "name": "Mollyverse Bot", "username": "MollyverseBot", "serves": 0, "sign_in_brands": [ "string" ], "setup": { "interactions_endpoint_url": "https://app.acme.example", "redirect_uri": "https://app.acme.example", "webhook_url": "https://app.acme.example", "trusted_origins": [ "https://acme.auth.synq.build", "https://login.acme.example" ], "allowed_urls": [ "https://acme.auth.synq.build/federation/telegram/callback", "https://login.acme.example/federation/telegram/callback" ] }, "created_at": "2026-10-21T12:00:00.000Z", "updated_at": "2026-10-21T12:00:00.000Z" }}Remove the org's own Discord app or Telegram bot DELETE
Disconnects every server or group it serves (its `serves` says how many), from now on: whoever holds a role or is in a group keeps it, and nobody is checked there again. The bot leaves each of them, best effort. Connecting them again starts afresh. Never wants the plan, so an org that moved down can still remove it. Needs `org.integrations.edit` across the org. Recorded as `own_bot.removed`.
Read the org's own Discord app and Telegram bot, and its brands' GET
What the org set: each bot's ids and names, how many servers or groups it serves, and what to set in Discord's portal, for the org's own (which serve every brand without its own) and each brand's. Never a token or client secret. Needs `org.integrations.view` across the org.