Skip to main content
POST
/
v1
/
twitter
/
verify_retweet
curl --request POST \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/v1/twitter/verify_retweet' \
  --header 'Content-Type: application/json' \
  --data '{
    "wallet": "0xb20094DFede30AbEe3a8d549BbA828b6fd771106",
    "username": "user123",
    "tweet_id": "1512345678901234567"
  }'
{
  "verified": true
}
This endpoint verifies whether a user has retweeted a specific tweet, which can be used as part of social engagement tasks or rewards programs.

Request Body

wallet
string
required
The wallet address of the user
username
string
required
The Twitter username
tweet_id
string
required
The ID of the tweet to verify

Response

verified
boolean
Whether the retweet has been verified
curl --request POST \
  --url 'https://mach-prod-536329393577.asia-northeast1.run.app/v1/twitter/verify_retweet' \
  --header 'Content-Type: application/json' \
  --data '{
    "wallet": "0xb20094DFede30AbEe3a8d549BbA828b6fd771106",
    "username": "user123",
    "tweet_id": "1512345678901234567"
  }'
{
  "verified": true
}

Status Codes

Status CodeDescription
200Success - Verification status returned successfully
422Validation Error - Invalid parameters
500Internal Server Error - Something went wrong on the server