POST
/
twitter
/
upload_media_v2
cURL
curl --request POST \
  --url https://api.twitterapi.io/twitter/upload_media_v2 \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form 'proxy=<string>' \
  --form 'login_cookies=<string>' \
  --form is_long_video=true \
  --form file=@example-file
{
  "media_id": "<string>",
  "status": "<string>",
  "msg": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

multipart/form-data

Response

200
application/json

Upload media response

The response is of type object.