tweet.read, tweet.write, and users.read scopes.
Currently, the API supports two endpoints:
Create a draft Article
Developers can create a new draft Article using thePOST https://api.x.com/2/articles/draft endpoint. The request body contains the article title, the body content as a DraftJS content state of text blocks and entities, and optional cover media uploaded via the media upload endpoints.
Publish an Article
Once a draft is ready, developers can make it publicly visible using thePOST https://api.x.com/2/articles/{article_id}/publish endpoint, where article_id is the ID returned when the draft was created.