The Reposts of Me lookup allows you to see which of your own Posts have been shared by others.

This provides users with insight into which of their Posts are being shared and resonating with their audience, which can help facilitate more targeted interactions and content strategy adjustments.

Authentication

Since you are making requests on behalf of a user, you must authenticate these endpoints with either OAuth 1.0a User Context or OAuth 2.0 Authorization Code with PKCE, and utilize the user Access Tokens associated with the user you are making the request on behalf of. You can generate this user Access Token using the 3-legged OAuth flow (OAuth 1.0a) or using the Authorization Code with PKCE grant flow (OAuth 2.0).

Making a request

Once a user has authenticated with your app, you can call the Retweets of Me API on behalf of user as shown below:

curl 'https://api.x.com/2/users/reposts_of_me' --header 'Authorization: ••••••'

If the request is successful, you should see the JSON response as shown below:

{

   "data": [

       {

           "text": "ever wanted to discover trends.. before they’re trends?\n\nsign up to Premium+ to access Radar\n\nhttps://t.co/7a3JzBb855 https://t.co/rwNogVs0Wi",

           "edit_history_tweet_ids": [

               "1848781937210802364"

           ],

           "id": "1848781937210802364"

       },

       {

           "text": "want to be mysterious so bad but also love oversharing on x dot com",

           "edit_history_tweet_ids": [

               "1847990559081648620"

           ],

           "id": "1847990559081648620"

       },

       {

           "text": "post",

           "edit_history_tweet_ids": [

               "1847990269125226937"

           ],

           "id": "1847990269125226937"

       },

       {

           "text": "posting is just journaling with an audience",

           "edit_history_tweet_ids": [

               "1847429017932026009"

           ],

           "id": "1847429017932026009"

       },

   ],

   "meta": {

       "result_count": 4,

       "next_token": "7140dibdnow9c7btw481s8m561gat797rboud5r80xvzm"

   }

}