Skip to main content
POST
/
twitter
/
send_tweet_v3
Send Tweet V3
curl --request POST \
  --url https://api.aisa.one/apis/v1/twitter/send_tweet_v3 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_name": "<string>",
  "text": "<string>",
  "media_data_base64": "<string>",
  "media_type": "<string>",
  "community_id": "<string>"
}
'
{
  "status": "<string>",
  "msg": "<string>"
}

Authorizations

Authorization
string
header
required

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

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

200 - application/json

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.