This endpoint does not consume usage credits. No subscription required.
curl -X PUT https://xquik.com/api/v1/styles/casual \ -H "x-api-key: xq_YOUR_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "label": "casual", "tweets": [ { "text": "just shipped a new feature, feels good" }, { "text": "hot take: tabs > spaces and I will die on this hill" }, { "text": "debugging at 2am hits different when the fix is a missing comma" } ] }' | jq
Style label used as the identifier. 1-50 characters. Must start with a letter or number. Allows letters, numbers, spaces, dots, hyphens, and apostrophes. This becomes the key for retrieving the style later.
{ "xUsername": "casual", "tweetCount": 3, "isOwnAccount": false, "fetchedAt": "2026-02-24T10:30:00.000Z", "tweets": [ { "id": "0", "text": "just shipped a new feature, feels good", "authorUsername": "casual", "createdAt": "2026-02-24T10:30:00.000Z" }, { "id": "1", "text": "hot take: tabs > spaces and I will die on this hill", "authorUsername": "casual", "createdAt": "2026-02-24T10:30:00.000Z" }, { "id": "2", "text": "debugging at 2am hits different when the fix is a missing comma", "authorUsername": "casual", "createdAt": "2026-02-24T10:30:00.000Z" } ]}
{ "error": "invalid_input", "message": "Invalid or missing label/tweets" }
Invalid or missing label/tweets. Provide a valid label and 1-100 tweet objects with non-empty text fields.
{ "error": "unauthenticated", "message": "Missing or invalid API key" }
Missing or invalid API key.
{ "error": "rate_limited", "message": "Too many requests" }
Too many requests. Wait before retrying.
If a style with this label already exists, it will be replaced with the new data.
Next steps:List Styles to see all saved styles, Get Style to retrieve a specific style, or Compare Styles to compare two styles side by side.