Skip to main content
The Retweets endpoints let you retweet and undo retweets, see who retweeted a Post, and get reposts of your own Posts.

Overview

Retweet

Retweet a Post on behalf of a user

Undo retweet

Remove a retweet

Retweeting users

See who retweeted a Post

Reposts of me

Get reposts of your own Posts

Endpoints

Retweets lookup

MethodEndpointDescription
GET/2/tweets/:id/retweeted_byGet users who retweeted a Post
GET/2/tweets/:id/quote_tweetsGet quote Posts of a Post
GET/2/users/reposts_of_meGet reposts of authenticated user’s Posts

Manage retweets

MethodEndpointDescription
POST/2/users/:id/retweetsRetweet a Post
DELETE/2/users/:id/retweets/:tweet_idUndo a retweet

Example: Get retweeting users

curl "https://api.x.com/2/tweets/1234567890/retweeted_by?\
user.fields=username,verified" \
  -H "Authorization: Bearer $BEARER_TOKEN"

Example: Retweet a Post

curl -X POST "https://api.x.com/2/users/123456789/retweets" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tweet_id": "1234567890"}'

Getting started

Prerequisites