Unmute user
Changed onUnmutes a user through a connected X account.
Request
- Base URLhttps://xquik.com/api/v1
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
User ID, username with or without @, or URL-encoded profile URL, such as x.com/nasa or x.com/i/user/11348282. A number is a user ID. Writes look up a username's ID before sending. Anything else gets 400 invalid_user_id.
Headers
Use 1 unique value per intended write. Reuse it only for an identical retry. A matching retry returns the first answer again, with idempotent: true added. It keeps the first status, body & Retry-After. It sends nothing to X & charges nothing. While the first request runs, a retry returns 202 & the action. Different input returns 409. Protection lasts at least 90 days. Retrying a write is safe with an idempotency key. A retry with an API key at its monthly budget gets 403 api_key_budget_reached.
A long write answers 202 with a status link, then lands on X. wait=<seconds> asks for the answer within that many seconds, up to 85. If the write is still running then, the API answers 202 with Location. Poll Location until terminal is true, and don't send the write again.
Request body
Example request
{
"account": "@elonmusk"
}Response
Write reached a terminal state.
Example response
{
"id": "12345",
"writeActionId": "12345",
"action": "like",
"status": "success",
"terminal": true,
"statusUrl": "/api/v1/x/write-actions/12345",
"pollAfterMs": 1000,
"charged": true,
"chargedCredits": "10",
"billing": {
"status": "charged",
"charged": true,
"plannedCredits": "10",
"chargedCredits": "10"
},
"request": {
"hash": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"payload": {
"tweet_id": "9876543210"
}
},
"account": {
"id": "42",
"username": "example"
},
"target": {
"type": "tweet",
"id": "9876543210"
},
"targetId": "9876543210",
"result": {
"type": "state_change",
"id": "9876543210",
"state": "liked"
},
"nextAction": {
"type": "poll",
"url": "/api/v1/x/write-actions/12345",
"afterMs": 2000
},
"requestHash": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"requestId": "01JZ8R7QSC9QKT0V7JX4M2A6B8",
"error": "x_write_ambiguous",
"message": "Invalid input. Check request fields.",
"sendDispatched": true,
"sendDispatchedAt": "2026-07-21T05:00:00Z",
"createdAt": "2026-07-21T05:00:00Z",
"updatedAt": "2026-07-21T05:00:02Z",
"completedAt": "2026-07-21T05:00:02Z",
"expiresAt": "2026-07-22T05:00:00Z",
"confirmedAt": "2026-07-21T05:00:02Z",
"confirmationCheckedAt": "2026-07-21T05:00:02Z",
"confirmationAttempts": 1,
"tweetId": "9876543210",
"messageId": "1234567890",
"mediaId": "2345678901",
"mediaUrl": "https://media.xquik.com/example.jpg",
"communityId": "3456789012",
"communityName": "Builders",
"resultId": "9876543210",
"media": {
"count": 1,
"kind": "image"
},
"details": {
"suggestion": "Poll the action status URL."
},
"success": true
}Changes
- info
endpoint added
- info