Manage your bot from your own code
The Bot Creator public API is a JSON REST API for the bots you build. Create commands, edit workflows and write variables from a script, a CI job or your own tool, with an API key that can only do what you allow.
API keys need an active Premium plan. Without Premium the keys are kept but their calls are refused until it comes back.
One key, one bot
A key is tied to a single bot. It cannot see your other bots, and it is refused everywhere outside the API.
Scopes you choose
Five scopes: read, write commands, publish commands, write workflows, write variables. Give a key the minimum it needs.
Create now, publish later
A command created through the API stays in Bot Creator until you publish it to Discord, globally or on chosen servers. You can take it off Discord and keep it.
Safe by design
Keys are shown once and stored hashed. They expire (90 days by default), can be rotated with a grace period and revoked in seconds. Writes are audited and rate limited per key.
Checked before it is saved
The server compiles commands and workflows on write. An error is returned with details and nothing is saved.
OpenAPI included
The OpenAPI 3.1 contract is public, so you can generate a client in the language you like.
A first call
curl -H "Authorization: Bearer $BCM_KEY" \
https://api.bot-creator.fr/v1/bot
Not in the API yet
Starting and stopping the bot, execution logs, statistics, triggers and webhooks are not available through the API today. Keys are managed in the Studio, not in the mobile app.