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

# Save a tweet draft

`POST /drafts`

## Request body

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

## Response `201`

Draft created

- DraftDetail — Full tweet draft including update timestamp.
  - `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
- `402` — Payment required. Returns a WWW-Authenticate header with an MPP challenge for pay-per-use endpoints, or indicates a subscription/credit issue for identity-authenticated endpoints.

## Changes

- **2026-04-25** `2adc33156b4b` — 4 warning, 7 info
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `400`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `401`
  - added the new `no_credits` enum value to the `error` response property for the response status `400`
  - added the new `no_credits` enum value to the `error` response property for the response status `401`
  - …7 more

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

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api/revisions/2adc33156b4b/schema)
