Get Delegate Members
List the accounts that can act as the account identified by cookie, including invitations not yet accepted. Each item has user_id, screen_name, name, avatar, membership_id, role (Admin or Contributor) and status (Accepted or Pending). The account itself is not listed. Returns an empty array when there are none. Requires a TwexAPI Bearer key and the account’s authorized X cookie or auth_token.
/twitter/delegate/membersAuthorizationBearer token · headerrequiredapplication/jsoncookiestringrequiredproxystring | anyShow propertiesHide properties
stringanycodeintegerrequiredmsgstringrequireddataDelegateMember[]requiredShow propertiesHide properties
DelegateMemberuser_idstringrequiredscreen_namestringrequirednamestringrequiredavatarstring | anyrequiredShow propertiesHide properties
stringanymembership_idstring | anyrequiredShow propertiesHide properties
stringanyrolestring | anyrequiredShow propertiesHide properties
stringanystatusstring | anyrequiredShow propertiesHide properties
stringanycodeintegerrequiredmsgstringrequireddataany[] | anyrequiredShow propertiesHide properties
anyanyanycodeintegerrequiredmsgstringrequireddataany[] | anyrequiredShow propertiesHide properties
anyanyanycodeintegerrequiredmsgstringrequireddataany[] | anyrequiredShow propertiesHide properties
anyanyany⚡Interactive Console / Try APIPOSTLive Console
https://api.twexapi.io1. 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.
Configure parameters in the Request tab and click Send Request below.
curl -X POST "https://api.twexapi.io/twitter/delegate/members" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"cookie": "YOUR_X_COOKIE_OR_AUTH_TOKEN"
}'const response = await fetch("https://api.twexapi.io/twitter/delegate/members", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"cookie": "YOUR_X_COOKIE_OR_AUTH_TOKEN"
})
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/delegate/members",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"cookie": "YOUR_X_COOKIE_OR_AUTH_TOKEN"
},
){
"code": 200,
"msg": "success",
"data": [
{
"user_id": "1234567890123456790",
"screen_name": "example_member",
"name": "Example Member",
"avatar": "https://pbs.twimg.com/profile_images/example_normal.jpg",
"membership_id": "1234567890123456791",
"role": "Admin",
"status": "Pending"
}
]
}{
"code": 403,
"msg": "Authentication or credit access denied",
"data": []
}{
"code": 422,
"msg": "Invalid request",
"data": []
}{
"code": 500,
"msg": "Upstream or server error",
"data": []
}