POST /2/users/:id/retweets

POST /2/users/:id/retweets

Causes the user ID identified in the path parameter to Retweet the target Tweet.

Endpoint URL

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 2.0 Authorization Code with PKCE

OAuth 1.0a is also available for this endpoint.

Rate limit

User rate limit (User context): 50 requests per 15-minute window per each authenticated user

OAuth 2.0 scopes required by this endpoint


Learn more about OAuth 2.0 Authorization Code with PKCE

Path parameters

stringThe user ID who you are Retweeting a Tweet on behalf of. It must match your own user ID or that of an authenticating user, meaning that you must pass the Access Tokens associated with the user ID when authenticating your request.

JSON body parameters

stringThe ID of the Tweet that you would like the user id to Retweet.

Example code with offical SDKs

      (async () => {
  try {
    const createRetweet = await twitterClient.tweets.usersIdRetweets(
      //The ID of the user that is requesting to retweet the tweet
        //The ID of the tweet the user is requesting to retweet
        tweet_id: "1228393702244134912",
    console.dir(createRetweet, {
      depth: null,
  } catch (error) {

      // String | The ID of the tweet the user is requesting to retweet
String tweetId = "1228393702244134912"
UsersRetweetsCreateRequest usersRetweetsCreateRequest = new UsersRetweetsCreateRequest();

// String | The ID of the user that is requesting to retweet the tweet
String id = "2244994945";
try {
    UsersRetweetsCreateResponse result = apiInstance.tweets().usersIdRetweets(usersRetweetsCreateRequest, id);
} catch (ApiException e) {
    System.err.println("Exception when calling TweetsApi#usersIdRetweets");
    System.err.println("Status code: " + e.getCode());
    System.err.println("Reason: " + e.getResponseBody());
    System.err.println("Response headers: " + e.getResponseHeaders());


Example responses

Successful response
  "data": {
    "retweeted": true

Response fields

retweetedbooleanIndicates whether the user Retweets the specified Tweet as a result of this request.