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

# Save a tweet draft

`POST /api/v1/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. The response includes a `Retry-After` header with the number of seconds to wait before retrying.
- `default` — Unexpected error.

## Changes

- **2026-09-26** `9ae77b3e4fdc` — 8 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`
  - …4 more
- …earlier changes not shown

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

---

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