Developers
Build on top of Disband: bots, integrations, and tools that talk to your spaces from the outside. Everything here is self-hosted — Disband never runs your code.
What you can build
- Bots — self-hosted accounts that read and write messages, manage channels, and react to events over a long-polling gateway. See the bots overview.
- Webhooks — one-way notifications posted through a secret URL, with no bot code or token. See Webhooks.
- Embedded cards — structured release notes, alerts, and status updates. See Embeds.
- Custom clients — talk to the HTTP API directly if you need a language the shipped clients don't cover. The API reference is the contract.
- Status integrations — follow Disband incidents over RSS, or read how the status system records checks and opens incidents.
Start here
- Getting started — create a bot, grab its token, invite it to a space. About two minutes.
- Hosting your own bot — where to run the client and how to keep it alive.
- JavaScript client or Python client.
- API reference for the exact endpoints.
- Webhooks or embeds if you only need one-way notifications.
- Status system for the public status page and RSS feed.
Implementing Disband into a game or app
Disband exposes a plain HTTP API authenticated with a bot token. There is no native SDK or RPC runtime to link — any stack that can make HTTPS requests works. A typical integration looks like this:
Create a bot in Settings → Bots and grant it
messages.write(andchannels.manageif it should create channels).Invite the bot to the space you want to post into.
Store the token in your game or app's secret store — never in client-side code that ships to players.
From your backend, call the scoped endpoints:
curl -X POST https://www.disband.dev/api/v1/channels/CHANNEL_ID/messages \ -H "Authorization: Bot $DISBAND_BOT_TOKEN" \ -H "Content-Type: application/json" \ -d '{"content": "Server restarted — 12 players online."}'To react to chat from inside your game, long-poll the gateway and dispatch
messageCreateevents to your game logic.
Security notes
- Bot tokens are hashed at rest and shown only once. Revoke immediately if one leaks.
- Keep tokens on a server you control. Shipping a token in a game client lets anyone impersonate your bot.
- Scope bots to the least privilege they need. A posting-only bot does not need
members.readorchannels.manage.
Themes for developers
If you are building a branded client or skin, the CSS variables in the themes guide are the stable styling API.
Questions
- Bug reports: open an issue or email the team.
- For account-specific problems, use in-app support.
Disband