Docs
Docs
/v1/presets · Presets
Presets API
Presets are the generator settings behind XBeast's automated posts: source (AI, web search, YouTube, X rewrite, X news, link, list, article), output format, prompt, style, image settings and more. The API exposes the same fields as the preset editor in the app.
Read-only keys can list and read presets
Create, update, delete, duplicate and test-run require a full-access key. Generation consumes credits.
Preset object
{
"id": "84f1c2a0-…",
"title": "Tesla News",
"preset_type": "xbeast",
"text_type": "x-news",
"tweet_format": "thread",
"img_type": "recommend",
"llm_prompt": "Write about Tesla from a builder's perspective.",
"x_news_search_query": "Tesla",
"style_id": "f3a9…",
"is_community": false,
"used_by_account_ids": ["123456789"],
"credit_cost": 3,
"created_at": "2026-11-28T10:00:00.000Z",
"updated_at": "2026-11-28T10:00:00.000Z"
}List presets
GET
/api/v1/presetsQuery
curl "https://xbeast.io/api/v1/presets?include_community=true&search=tesla" \ -H "Authorization: Bearer xb_live_YOUR_KEY"
Create a preset
POST
/api/v1/presetsOnly
title is required. Defaults: text_type: "ai", img_type: "recommend", tweet_format: "tweet". The plan preset limit is enforced.Body
{
"title": "Tesla News",
"text_type": "x-news",
"tweet_format": "thread",
"x_news_search_query": "Tesla",
"llm_prompt": "Write from a builder's perspective."
}Get a preset
GET
/api/v1/presets/:idUpdate a preset
PATCH
/api/v1/presets/:idSend any subset of the generator fields. Community presets cannot be edited — call
POST /presets/:id/duplicate first.Delete a preset
DELETE
/api/v1/presets/:idThe preset is removed from any schedules that reference it. Destructive and cannot be undone.
Duplicate a preset
POST
/api/v1/presets/:id/duplicateCopy a community preset (or your own) into your workspace. Optional body:
{ "title": "My Tesla preset" }.Test-run a preset
POST
/api/v1/presets/:id/generateGenerates one post and saves it to history. Consumes the preset's credit cost. Optional body:
account_id (required for X news and other account-scoped sources) and day_of_week.curl -X POST "https://xbeast.io/api/v1/presets/P_RESET_ID/generate" \
-H "Authorization: Bearer xb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "account_id": "YOUR_ACCOUNT_ID" }'Response:
{ data: { post, preset_id, tweets, article_title, credits_used } }.Related
- Attach the preset to a weekly schedule
- Writing styles used by presets
- Manage presets from an AI agent over MCP