Article Endpoints
[Quick] One-step article publish
Publish a complete X Article in a single call. Suitable for simple, one-shot use cases.
⚠️ Recommended: use the step-by-step flow instead. The step-by-step flow gives you full control — preview the draft before publishing, retry individual steps on failure, and reuse the same article_id across multiple calls.
Step-by-step endpoints:
- POST /x/articles/draft → get article_id
- PUT /x/articles/{article_id}/cover (optional)
- PUT /x/articles/{article_id}/title
- PUT /x/articles/{article_id}/content
- POST /x/articles/{article_id}/publish → get tweet_id
Returns article_id and tweet_id on success.
post/x/articles/publish
Request
- Base URL: https://api.twexapi.io
- URL: https://api.twexapi.io/x/articles/publish
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.