Docs
Docs
/v1/styles · Styles
Styles API
Styles teach XBeast how you write. A style holds example tweets and can be attached to presets and text generation. Community styles are read-only; duplicate the examples into your own style to customize them.
Maximum 9 examples per style
Adding an example from a URL or a handle fetches public X posts and requires a connected X account.
Style object
{
"id": "f3a9d1…",
"title": "Builder voice",
"is_community": false,
"examples": [
"Shipped a tiny feature today. It will never trend, and it made a customer's week.",
"Most growth advice is just consistency with better lighting."
],
"tweet_bank_ids": [],
"created_at": "2026-11-28T10:00:00.000Z"
}List styles
GET
/api/v1/stylesQuery
Create a style
POST
/api/v1/stylescurl -X POST "https://xbeast.io/api/v1/styles" \
-H "Authorization: Bearer xb_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "title": "Builder voice" }'Get a style
GET
/api/v1/styles/:idUpdate a style
PATCH
/api/v1/styles/:idSend exactly one change per request:
Body
Add an example
POST
/api/v1/styles/:id/examplesBody: exactly one of
text, tweet_url or handle.Remove an example
DELETE
/api/v1/styles/:id/examples/:exampleIdDelete a style
DELETE
/api/v1/styles/:id