Skip to main content
POST
Create an article draft

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.

Headers

Idempotency-Key
string

Unique key (max 64 characters) for safe retries. Replays carry the "Idempotency-Replayed" response header set to "true". Keys are retained for 24 hours.

Maximum string length: 64

Body

application/json
title
string
required
Required string length: 1 - 300
content_markdown
string

Article body as markdown. Omit for an empty draft.

account_id
string

Must be the main account (writes are main-account-only).

Response

The created article (body echoed as markdown).

data
object
warnings
string[]

Markdown degradations applied during conversion (absent when none).