Skip to content
Twexapi
English
Esc
navigateopen⌘Jpreview

Modify the profile bio, image and banner of the user

Back to API Reference
/Twitter Profile Actions Endpoints
POST/twitter/profile
Authorization
AuthorizationBearer token · headerrequired
Global API Bearer Token for TwexAPI. Included as: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Request Body
requiredapplication/json
cookiestringrequired
The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie).
namestring | any
Name of the user
Show properties
Any of:
string
string
any
any
websitestring | any
Website of the user
Show properties
Any of:
string
string
any
any
descriptionstring | any
Description of the user
Show properties
Any of:
string
string
any
any
locationstring | any
Location of the user
Show properties
Any of:
string
string
any
any
profile_imagestring | any
Profile image of the user
Show properties
Any of:
string
string
any
any
profile_bannerstring | any
Profile banner of the user
Show properties
Any of:
string
string
any
any
proxystring | any
The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://app.proxy-cheap.com/r/qiMxub
Show properties
Any of:
string
string
any
any
Responses
200Successful Response
codeintegerrequired
HTTP status code (200 for success)
msgstringrequired
Human-readable response message
databooleanrequired
True if the profile bio, image and banner are modified successfully, False otherwise
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Interactive ConsolePOST
Interactive Console / Try APIPOST
Live Console
🌐Target Server:https://api.twexapi.io
● Production Ready
✍️
Write Operation Credentials Guide (TwexAPI Key + Twitter Cookie)

1. TwexAPI Platform Key (Bearer Token): Enter under "API Authorization" below for request billing & authentication.

2. Twitter Account Cookie: For write operations (tweet, like, follow, etc.), provide the target Twitter account's Cookie (e.g. auth_token=...; ct0=...) in the cookie field of Request Body below.

🔑API Authorization
📝Request Bodyapplication/json
📡
No Response Yet

Configure parameters in the Request tab and click Send Request below.

Request
curl -X POST "https://api.twexapi.io/twitter/profile" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "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"
}'
Response
{
  "code": 200,
  "msg": "success",
  "data": true
}