Article Endpoints

[Step 5/5] Publish an article draft

Step 5 of 5 — Publish the draft. Returns article_id and tweet_id.

  • article_id: obtained from Step 1
  • visibility: Public (default) / Followers / Mentioned

⚠️ Make sure Steps 3 and 4 are completed before publishing. A draft without a title or content can still be published but will appear empty.

post/x/articles/{article_id}/publish

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/x/articles/{article_id}/publish
  • Auth: HTTP bearer

Path parameters

article_idstring required

Request body

cookiestring required

The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See Authentication Security and How to get Cookie.

visibilitystring

Public / Followers / Mentioned

Response

Successful Response

codeinteger required

200 = success, 429 = rate limit, 500 = server error

msgstring required

Human-readable result message

Changes

No recorded changes to this operation across all 1 revision of this API.