POST
/
twitter
/
tweets
/
quote
curl --request POST \
  --url https://api.twitterxapi.com/twitter/tweets/quote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "media_url": "https://example.com/image.jpg",
  "tweet_content": "Hello, Twitter! 🐦",
  "cookie": "auth_token=abc123...",
  "community_name": "Python Developers",
  "quote_tweet_url": "https://twitter.com/user/status/1234567890123456789"
}'
{
  "code": 200,
  "msg": "success",
  "data": {
    "tweet_id": "1234567890123456789",
    "user_id": "1234567890"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Parameters for quoting a tweet

Response

200
application/json

The ID and user ID of the newly created quote tweet.

Post tweet API response