POST /2/users/:id/retweets

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



Endpoint URL

https://api.twitter.com/2/users/:id/retweets

Authentication and rate limits

Authentication methods
supported by this endpoint

OAuth 1.0a User context

Rate limit User rate limit: 50 requests per 15-minute window
Max operations User limit: 300 successful requests per 3-hour window

Path parameters

Name Type Description
id
 Required 
string The 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

Name Type Description
tweet_id
 Required 
string The ID of the Tweet that you would like the user id to Retweet.



Example requests

      curl -X POST https://api.twitter.com/2/users/2244994945/retweets/ -H "Authorization: OAuth $OAUTH_SIGNATURE" -H "Content-type: application/json" -d '{"tweet_id": "1228393702244134912"}'
    
      twurl -X POST /2/users/2244994945/retweets/  -A "Content-type: application/json" -d '{"tweet_id": "1228393702244134912"}'
    

Example responses

      {
  "data": {
    "retweeted": true
  }
}
    

Response fields

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