Skip to main content
GET
https://xquik.com/api/v1
/
drafts
/
{id}
Get Draft
curl --request GET \
  --url https://xquik.com/api/v1/drafts/{id} \
  --header 'x-api-key: <api-key>'
This endpoint does not count against your monthly usage quota.
curl -X GET https://xquik.com/api/v1/drafts/42 \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Path Parameters

id
string
required
The unique draft ID. Returned when you create a draft or list drafts.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

id
string
Unique draft ID.
text
string
The draft tweet text.
topic
string
Topic the tweet is about. Omitted if not set.
goal
string
Optimization goal. Omitted if not set.
createdAt
string
ISO 8601 creation timestamp.
updatedAt
string
ISO 8601 last update timestamp.
{
  "id": "42",
  "text": "Just shipped dark mode. What feature should we build next?",
  "topic": "product update",
  "goal": "conversation",
  "createdAt": "2026-02-24T10:30:00.000Z",
  "updatedAt": "2026-02-24T10:30:00.000Z"
}
Related: List Drafts to see all your drafts, Create Draft to save a new one, or Delete Draft to remove this draft.