대기 중인 계정 위임 초대 조회
List pending account-delegation invitations received by the account identified by cookie. Requires both a TwexAPI Bearer key and the recipient account’s authorized X cookie or auth_token. Returns an empty array when no pending invitations are found. username and membership_id do not filter this list. This read operation requires account credentials because invitations are private.
API 참조로 돌아가기
/Delegate Endpoints
POST
/twitter/delegate/invitesAPI 인증
AuthorizationBearer token · header필수TwexAPI 전역 인증 토큰 (Bearer Token). 헤더에 포함되어야 합니다: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
요청 본문
필수application/jsoncookiestring필수Authorized X session cookie or auth_token for the account receiving the invitation. Required in addition to the TwexAPI Bearer key.
min length 1
proxystring | any속성 표시속성 숨기기
Any of:
string
stringany
anyusernamestring | any속성 표시속성 숨기기
Any of:
string
stringany
anymembership_idstring | any속성 표시속성 숨기기
Any of:
string
stringany
any응답
200Success
codeinteger필수msgstring필수dataDelegateInvite[]필수속성 표시속성 숨기기
Array of
DelegateInvitemembership_idstring필수rolestring필수screen_namestring필수Username of the account that sent the delegation invitation.
namestring필수user_idstring필수403Authentication or credit access denied
codeinteger필수msgstring필수dataany[] | any필수속성 표시속성 숨기기
Any of:
any[]
Array of
anyanyany
any422Invalid request
codeinteger필수msgstring필수dataany[] | any필수속성 표시속성 숨기기
Any of:
any[]
Array of
anyanyany
any500Upstream or server error
codeinteger필수msgstring필수dataany[] | any필수속성 표시속성 숨기기
Any of:
any[]
Array of
anyanyany
any⚡대화형 콘솔POST
⚡대화형 콘솔 / API 테스트POSTLive Console
🌐대상 서버:
https://api.twexapi.io● 프로덕션 준비 완료
✍️
쓰기 작업 인증 정보 가이드 (TwexAPI 키 + Twitter 쿠키)
1. TwexAPI 플랫폼 키 (Bearer Token): 요청 과금 및 인증을 위해 아래 "API 인증"에 입력하세요.
2. Twitter 계정 쿠키: 트윗, 좋아요, 팔로우 등 쓰기 작업을 위해 아래 요청 본문의 cookie 필드에 쿠키(예: auth_token=...; ct0=...)를 입력하세요.
🔑API 인증
📝요청 본문application/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
요청 예시
curl -X POST "https://api.twexapi.io/twitter/delegate/invites" \
-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/invites", {
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/invites",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"cookie": "YOUR_X_COOKIE_OR_AUTH_TOKEN"
},
)응답 예시
{
"code": 200,
"msg": "success",
"data": []
}{
"code": 403,
"msg": "Authentication or credit access denied",
"data": []
}{
"code": 422,
"msg": "Invalid request",
"data": []
}{
"code": 500,
"msg": "Upstream or server error",
"data": []
}