---
title: "X create article draft API: POST /2/articles/draft"
description: "When PubNio calls X's create article draft request, POST /2/articles/draft: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# X create article draft API: POST /2/articles/draft

PubNio calls X's `POST /2/articles/draft` (`articleCreateDraft`) to save an X Article as a draft.

## How PubNio calls it

- Publishing: [`POST /api/v1/posts`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts) (unless it saves a draft), [`POST /api/v1/posts/{postId}/publish`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/publish), or [`POST /api/v1/posts/{postId}/targets/{targetId}/retry`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/targets/{targetId}/retry) starts the delivery.
- PubNio sends the article `title` and a `content_state` with one block per plain-text line of the article. The delivery ends as a provider draft, not a published post.
- A response without a numeric draft ID is an invalid response, not a success.

## Scopes

- The pinned spec names no scope. See [X scopes and permissions](https://pubnio.com/docs/providers/x/scopes/).
- Before a delivery makes this call, PubNio checks that the account granted `tweet.write`.

## Errors

PubNio has no X error code pages yet. [Provider error codes](https://pubnio.com/docs/errors/providers/) covers the providers that have them.

## Spec and changes

`articleCreateDraft` in the pinned spec, revision `2.175`.

Checked weekly; no change to `POST /2/articles/draft` recorded since this revision. [Change tracker](https://pubnio.com/docs/changes/).

## Limits

- An article delivery with media, a thread, a poll, reply settings, tagged users, or a place is refused before the call. PubNio does not publish the article; the person does that in X.

## Sources

- [X API v2 OpenAPI document](https://api.x.com/2/openapi.json)

## Related

- [Provider API operations PubNio calls](https://pubnio.com/docs/providers/operations/)
- [X rate limits and quota](https://pubnio.com/docs/providers/x/quota/)

Source: https://pubnio.com/docs/providers/x/operations/article-create-draft/index.mdx
