POST
/
twitter
/
upload_image
curl --request POST \
  --url https://api.twitterapi.io/twitter/upload_image \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "auth_session": "<string>",
  "image_url": "<string>",
  "proxy": "<string>"
}'
{
  "status": "<string>",
  "msg": "<string>",
  "media_id": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Upload image response

The response is of type object.