Skip to main content
POST
/
twitter
/
profile
Modify the profile bio, image and banner of the user
curl --request POST \
  --url https://api.twexapi.io/twitter/profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cookie": "<string>",
  "name": "<string>",
  "website": "<string>",
  "description": "<string>",
  "location": "New York, USA",
  "profile_image": "https://example.com/image.jpg",
  "profile_banner": "https://example.com/banner.jpg",
  "proxy": "http://username:password@ip:port"
}
'
{
  "code": 200,
  "msg": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Twitter authentication cookie or Twitter auth_token, how-to-get-twitter-cookie

name
string | null

Name of the user

website
string | null

Website of the user

description
string | null

Description of the user

location
string | null

Location of the user

Example:

"New York, USA"

profile_image
string | null

Profile image of the user

Example:

"https://example.com/image.jpg"

profile_banner
string | null

Profile banner of the user

Example:

"https://example.com/banner.jpg"

proxy
string | null

The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port [blocked] . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub

Example:

"http://username:password@ip:port"

Response

Successful Response

code
integer
required

HTTP status code (200 for success)

Example:

200

msg
string
required

Human-readable response message

Example:

"success"

data
boolean
required

True if the profile bio, image and banner are modified successfully, False otherwise

Example:

true