Docs
Docs
API Overview
XBeast Public API v1
The XBeast Public API lets you schedule and publish your own tweets through a connected X (Twitter) account — including auto-reply and auto-retweet. You do not need XBeast AI generation. Bring text and media from your CMS, bot, or script.
Premium required
API keys and all /api/v1 endpoints are available on paid XBeast plans only.
Prefer to let an AI agent drive?
The hosted XBeast MCP server exposes the same workspace to Claude, Cursor, Codex and any MCP client at
https://xbeast.io/api/mcp. It uses the same xb_live_ keys as this API.Base URL
https://xbeast.io/api/v1
GET /api/v1 returns a discovery payload with the version, docs URLs and every resource path.What you can do
- Create drafts, schedule a tweet or post immediately, with auto-reply, auto-retweet and auto-plug
- Manage presets and weekly schedules and reply sessions
- Generate text, run Beast Mode or chat-edit a draft
- Generate and edit images and upload media from a file, HTTPS URL or base64
- Manage writing styles, auto plugs and the tweet bank
- Read workspace, credits, analytics and the leaderboard, plus affiliate earnings
- Manage API keys and open the billing portal
Quick start
- Subscribe to a paid plan.
- Connect an X account from the dashboard.
- Create an API key on Developer API. Copy it once.
- Call
GET /api/v1/accountsto get anaccount_id. - Call
POST /api/v1/postswith your tweet,scheduled_at, and optional auto-reply / auto-retweet.
Example: schedule a tweet at noon with auto-reply
POST /api/v1/posts
curl -X POST "https://xbeast.io/api/v1/posts" \
-H "Authorization: Bearer xb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_id": "YOUR_ACCOUNT_ID",
"tweets": [{ "text": "Hello from my own content pipeline." }],
"scheduled_at": "2026-08-25T16:00:00.000Z",
"auto_reply": { "enabled": true, "max": 10 },
"auto_retweet": { "enabled": true, "after_hours": 8, "undo": true }
}'Endpoints
- Authentication — Bearer API keys and read-only access
- Errors — status codes and payload
- Accounts — list, read, update prompts, pause posting
- Presets — create, edit, duplicate, test-run
- Schedules — preset slots, queue slots, reply sessions
- Posts — create, list, get, update, publish, queue, cancel, regenerate
- Generations — text, Beast Mode, chat editing
- Images and Media
- Styles, Auto Plugs, Tweet Bank
- Workspace & Analytics, Affiliate, API Keys, Billing
- GET /credits
GET /activity— the last 30 days of this workspace's API/MCP calls (self-scoped)- MCP Server — connect Claude, Cursor, Codex or any MCP client
Limits
- Up to 5 active API keys per user
- About 120 requests per minute per API key (IP fallback). Rejected requests return
429with aRetry-Afterheader - Send an
Idempotency-Keyheader onPOST /poststo make retries safe; the same key returns the original post instead of creating a second one - Publishing to X costs 1 credit per post, charged after a successful send. Posts that contain a URL cost 10 extra credits
- Up to 7 scheduled or posted tweets per connected account per day (account timezone)
- Scheduled posts are published by XBeast cron; they must fall in the posting window when due
- Auto-reply and auto-retweet require a paid plan (same as the app)
FAQ
Do I need my own X developer account?
No. Connect your X account in XBeast. The API publishes through that connection.
Can I skip AI-generated posts?
Yes. This API is for bring-your-own content. Presets and AI generation stay in the XBeast app.
Where do I create a key?
In the app: Developer API. The full secret is shown only once.