Skip to main content
POST
Create Tweet

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"

text
string
required

Tweet body.

Example:

"Hello from OmniX 👋"

reply_to_tweet_id
string

Reply to this tweet ID.

quote_tweet_id
string

Quote this tweet ID.

quote_tweet_url
string

Quote tweet by URL (id is parsed from it).

media_ids
string[]

Pre-uploaded media ids (see Upload Media).

media_urls
string[]

Image/video URLs to upload and attach.

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 tweet.

status
boolean
Example:

true

data
object
error
string | null
Example:

null