Skip to main content
POST
/
twitter
/
send_tweet_v3
cURL
curl --request POST \
  --url https://api.twitterapi.io/twitter/send_tweet_v3 \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "user_name": "<string>",
  "text": "<string>",
  "media_data_base64": "<string>",
  "media_type": "<string>",
  "community_id": "<string>"
}
'
{
  "status": "<string>",
  "msg": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
user_name
string
required

Twitter username. Must be set. The user must have been logged in via user_login_v3.

text
string
required

The text content of the tweet. Must be set.

media_data_base64
string

Optional. Base64 encoded media data for images, GIFs, or videos.

media_type
string

Optional. The MIME type of the media. Supported types: image/jpeg, image/png, image/gif, video/mp4

community_id
string

Optional. The ID of the community to post the tweet to.

Response

Tweet send response

status
string

Status of the request. 'success' means the tweet has been queued for posting.

msg
string

Message describing the result or error details.