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).
- 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"