Article Endpoints

[Step 4/5] Set article content from Markdown

Step 4 of 5 — Set the article body by providing Markdown text.

  • article_id: obtained from Step 1
  • markdown: supports headings, bold/italic, lists, code blocks, and inline images (![alt](url))

Inline images are automatically uploaded to X and embedded in the article.

put/x/articles/{article_id}/content

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/x/articles/{article_id}/content
  • 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.

markdownstring required

Article body in Markdown format

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.