X Write
Like tweet
Like a tweet by ID from a connected X account to engage with content programmatically
POST
Like tweet
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.
10 credits per call · All plans from $0.00012/credit
Headers
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Must be
application/json.Path parameters
The ID of the tweet to like.
Body
X username or account ID identifying which connected X account will like the tweet. The
@ prefix is automatically stripped if included.Response
Idempotent. Calling like on a tweet you have already liked returns 200 success. The credit is still charged because X confirmed the action is in place.
- 200 Success
- 400 Invalid Input
- 401 Unauthenticated
- 402 Subscription Required
- 402 Insufficient Credits
- 403 Account Needs Reauth
- 403 Account Restricted
- 422 Write Rejected
- 429 Rate Limited by X
- 503 Transient Error
- 500 Write Failed
Always
true on success.Related: Unlike Tweet to remove a like, Retweet to retweet, or Create Tweet to post a new tweet.
Last modified on May 9, 2026
Like tweet