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

# Save a tweet draft

`POST /api/v1/drafts`

Saves editable post text as an account draft.

## Request body

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

## Response `201`

Draft created

- DraftDetail — Saved tweet 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-08-21** `18302a60cfee` — 5 breaking, 2 warning, 1 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `201`
  - removed the required property `createdAt` from the response with the `201` status
  - removed the required property `id` from the response with the `201` status
  - removed the required property `text` from the response with the `201` status
  - …4 more
- **2026-08-12** `5d4938bb7de3` — 72 warning
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …68 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-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api-2/revisions/834c16fa45e8/schema)
