POST /twitter/upload_image

Changed on

upload image to twitter.Need to login first. Price: 100 credits ($0.001 per call).

Request

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

Request body

auth_sessionstring required

The session of the login. It's returned by /twitter/login_by_2fa

image_urlstring required

The url of the image to upload

proxystring required

The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port

Response

Upload image response

statusstring

Status of the request.success or error

msgstring

Message of the request.error message

media_idstring

The id of the uploaded image

Changes