This endpoint does not count against your monthly usage quota.
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
Always true on successful update.
The linked X username, lowercased.
{
"success": true,
"xUsername": "elonmusk"
}
{ "error": "invalid_input" }
Missing or empty username field.{ "error": "unauthenticated" }
Missing or invalid API key.
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.