---
title: "Save a tweet draft"
method: POST
path: "/drafts"
tags: ["Composition"]
---

# Save a tweet draft

`POST /drafts`

Stores a private Xquik draft. It never publishes or creates native X drafts.

## Request body

- object
  - `text` string, required
  - `topic` string
  - `goal` 'engagement' | 'followers' | 'authority' | 'conversation'

## Response `201`

Draft created

- DraftDetail — Private Xquik draft with optional topic and goal.
  - `id` string, required
  - `text` string, required
  - `topic` string
  - `goal` string
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. Wait `Retry-After` seconds before retrying.

## Changes

- **2026-09-27** `d9f0c9034255` — 12 warning
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `draw_too_large` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …8 more
- **2026-09-26** `db02366a5e8d` — 6 warning
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `bookmark_folders_unavailable` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …2 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api-3/changes/drafts/post.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api-3.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api-3/llms.txt) · [OpenAPI document](https://skmtc.dev/xquik-dev/apis/xquik-api-3/revisions/d9f0c9034255?raw)
