Causes the user (in the path) to retweet the specified tweet
Causes the user (in the path) to retweet the specified tweet. The user in the path must match the user context authorizing the request.
POST
/2/users/{id}/retweets
curl \
-X POST https://api.twitter.com/2/users/2244994945/retweets \
-H "Authorization: Oauth $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"tweet_id":"string"}'
Request example
{
"tweet_id": "string"
}
Request examples
{
"tweet_id": "string"
}
Response examples (200)
{
"data": {
"retweeted": true
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
]
}
Response examples (200)
{
"data": {
"retweeted": true
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
]
}
Response examples (default)
{
"code": 42,
"message": "string"
}
Response examples (default)
{
"code": 42,
"message": "string"
}