Documentation Index
Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
Use this file to discover all available pages before exploring further.
Free - does not consume credits
curl -X PUT https://xquik.com/api/v1/account/x-identity \
-H "x-api-key: xq_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"username": "elonmusk"
}' | jq
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Must be application/json.
Body
Your X username without the @ prefix. 1-15 characters, alphanumeric and underscores only. Stored as lowercase.
Response
200 OK
400 Invalid Input
401 Unauthenticated
429 Rate Limited
Always true on successful update.
The linked X username, lowercased.
{
"success": true,
"xUsername": "elonmusk"
}
{ "error": "invalid_input" }
Missing or empty username field.{ "error": "invalid_username" }
Username does not match the required format (1-15 characters, alphanumeric and underscores only).{ "error": "unauthenticated" }
Missing or invalid API key.{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }
Too many requests. Wait for the Retry-After header before retrying.
Your X identity is used for own-account detection in tweet style analysis. You can update it at any time by calling this endpoint again.