This endpoint does not count against your monthly usage quota.
curl -X POST https://xquik.com/api/v1/drafts \
-H "x-api-key: xq_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"text": "Just shipped dark mode. What feature should we build next?",
"topic": "product update",
"goal": "conversation"
}' | jq
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Must be application/json.
Body
The draft tweet text. Must be non-empty.
Topic the tweet is about. Used for composition guidance.
Optimization goal. One of: engagement, followers, authority, conversation. Invalid values are silently ignored.
Response
Topic the tweet is about. Omitted if not set.
Optimization goal. Omitted if not set.
ISO 8601 creation timestamp.
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"
}
{ "error": "invalid_input" }
Missing or empty text field.{ "error": "unauthenticated" }
Missing or invalid API key.{ "error": "subscription_required" }
An active subscription is required to use drafts. Subscribe to get started.