Thanks to visit codestin.com
Credit goes to docs.x.com

Skip to main content
POST
Create draft Article

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Create a draft Article.

content_state
object
required

DraftJS content state representing the article body. Special formatting (markdown/code/tables, dividers, LaTeX, emoji, images, embedded posts) uses atomic blocks with entity_ranges pointing into entities.

title
string
required

The title of the Article.

Minimum string length: 1
cover_media
object

Optional cover media for the Article.

Response

The request has succeeded.

data
object
errors
object[]