Skip to main content
POST
Create Article

Authorizations

Authorization
string
header
required

Your OmniX API key, e.g. omnix_live_.... Billed per call.

Body

application/json
auth_token
string
required

The X account auth_token cookie the action runs as.

Example:

"YOUR_X_AUTH_TOKEN"

title
string
required
Example:

"My first article"

content
string
required

Markdown body (headings, bold/italic, lists, links, images).

Example:

"## Hello\n\nThis is **bold** and a list:\n\n- one\n- two"

publish
boolean
default:false

Publish immediately (Premium-only). Otherwise saved as a draft.

cover_media_id
string

Pre-uploaded cover media id.

cover_image_url
string

Cover image URL to upload.

cover_image_base64
string

Cover image base64 to upload.

proxy
string

Optional outbound proxy for this call (http:// or https://, optionally user:pass@host:port). The X request runs through it — useful for geo-routing or spreading calls across IPs. SOCKS proxies are not supported.

Example:

"http://user:pass@host:8080"

Response

The created article.

status
boolean
Example:

true

data
object
error
string | null
Example:

null