Docs
Docs
Authentication
API Authentication
Every Public API request must include an API key in the
Authorization header. Keys start with xb_live_ and are hashed at rest. The full key is shown only when you create it.Treat keys like passwords
Anyone with the key can schedule and publish as your connected accounts. Revoke leaked keys immediately.
Create a key
- Open https://xbeast.io/developers while logged in.
- Use a paid XBeast plan (free accounts cannot create keys).
- Choose Full access or Read-only, name the key (for example Production) and click Create key.
- Copy the secret. You will not see it again.
You can have up to 5 active keys. Revoke unused keys from the same page.
Request header
Authorization: Bearer xb_live_YOUR_KEY
Example
curl "https://xbeast.io/api/v1/credits" \ -H "Authorization: Bearer xb_live_YOUR_KEY"
Clients that cannot set an
Authorization header may send X-API-Key instead. Keys are never accepted in the query string.The same keys work for MCP
The hosted XBeast MCP server authenticates with the same
xb_live_ keys. Paste the key into your MCP client's headers; no separate MCP token exists. Paid plan and access-mode rules apply identically to both surfaces.Access modes
Only a full-access key can create or revoke keys, so a read-only key cannot escalate its own permissions.