PATCH /twitter/update_avatar_v2

Update your Twitter avatar/profile picture. You must set the login_cookie. You can get the login_cookie from /twitter/user_login_v2. Price: 60 credits ($0.0006 per call).

Request

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

Request body multipart/form-data

filestring binary required

The avatar image file to upload. Recommended size: 400x400 pixels. Maximum file size: 700KB. Supported formats: JPG, PNG

proxystring required

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

login_cookiesstring required

The login cookies of the user. You can get the login_cookie from /twitter/user_login_v2. Required

Response

Update avatar response

statusstring

Status of the request. success or error

messagestring

Message of the request. e.g. Avatar updated successfully

Changes

No recorded changes to this operation across all 2 revisions of this API.