Skip to main content
POST

Authorizations

Authorization
string
header
required

A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.

Body

application/json
brief
string
required

What the post should say: the data, angle, or notes to write from.

Required string length: 1 - 2000
count
integer
default:1

How many drafts to write. Each one costs credits.

Required range: 1 <= x <= 3
voice
enum<string>
default:mine

Whose voice to write in. mine is the voice of the account in account_id: its own posts, style guide and rules. Omit account_id and that is your main account.

Available options:
mine,
creator,
hybrid
creator
string

X handle to borrow style from, for example @naval. Required when voice is creator or hybrid, rejected when voice is mine.

mirror
string

Plain text of a proven post whose shape to copy. Only the form is reused, never the content. Pick a mirror with room for your data: a two-line aphorism squeezes the facts out. Omit to have a shape picked for you.

Required string length: 50 - 1500
collection
string

Format collection id to bias the picked shape toward, for example numbered_list or contrarian_take. Used only when mirror is omitted; an id that is unknown or not usable as a mirror fails with 400 invalid_collection, which lists the ids that do work.

instructions
string

Extra style instructions for this batch.

Maximum string length: 500
account_id
string

Any account you own, meaning your main account (the default when omitted) or one linked to it. With voice: mine the drafts use this account's own posts and style guide. An account shared with you returns 403 writes_main_account_only.

Response

The generated drafts. Nothing was scheduled or stored.

data
object