POST /twitter/send_tweet_v3

Changed on

V3 Send Tweet API - Send a tweet using your username. This is an asynchronous method that queues your tweet for posting. You must have logged in via user_login_v3 first. Supports text, images, GIFs, and videos. Price: 200 credits ($0.002 per call).

Request

  • Base URL
    https://api.twitterapi.io
  • URL
    https://api.twitterapi.io/twitter/send_tweet_v3
  • Auth
    API key in header X-API-Key

Request body

user_namestring required

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

textstring required

The text content of the tweet. Must be set.

media_data_base64string

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

media_typestring

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

community_idstring

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

Response

Tweet send response

statusstring

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

msgstring

Message describing the result or error details.

Changes