Skip to main content
GET
https://xquik.com/api/v1
/
drafts
List Drafts
curl --request GET \
  --url https://xquik.com/api/v1/drafts \
  --header 'x-api-key: <api-key>'
This endpoint does not count against your monthly usage quota.
curl "https://xquik.com/api/v1/drafts?limit=20" \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Query Parameters

limit
number
Results per page. Default 50, max 50.
afterCursor
string
Pagination cursor from a previous response. Pass the nextCursor value to fetch the next page.

Headers

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

Response

drafts
object[]
Array of draft objects, ordered by creation date (newest first).
drafts[].id
string
Unique draft ID.
drafts[].text
string
The draft tweet text.
drafts[].topic
string
Topic the tweet is about. Omitted if not set.
drafts[].goal
string
Optimization goal. Omitted if not set.
drafts[].createdAt
string
ISO 8601 creation timestamp.
drafts[].updatedAt
string
ISO 8601 last update timestamp.
hasMore
boolean
true if additional pages exist beyond this result set.
nextCursor
string
Pagination cursor. Pass as the afterCursor query parameter to fetch the next page. Present only when hasMore is true.
{
  "drafts": [
    {
      "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"
    },
    {
      "id": "38",
      "text": "3 things I learned building a real-time data platform:",
      "goal": "authority",
      "createdAt": "2026-02-23T16:15:00.000Z",
      "updatedAt": "2026-02-23T16:15:00.000Z"
    }
  ],
  "hasMore": true,
  "nextCursor": "MjAyNi0wMi0yM1QxNjoxNTowMC4wMDBafDM4"
}
Related: Create Draft to save a new draft, Get Draft to fetch a specific draft, or Delete Draft to remove one.