İçeriğe geç
Twexapi
Türkçe
Esc
↑↓gezin↵aç⌘Jönizle

Bekleyen hesap yetkilendirme davetlerini getir

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 Belgelerine Dön
/Delegate Endpoints
POST/twitter/delegate/invites
API Yetkilendirmesi
AuthorizationBearer token · headerzorunlu
TwexAPI genel Bearer Token kimlik bilgisi. İstek başlığı: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
İstek Gövdesi
zorunluapplication/json
cookiestringzorunlu
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
Özellikleri göster
Any of:
string
string
any
any
usernamestring | any
Özellikleri göster
Any of:
string
string
any
any
membership_idstring | any
Özellikleri göster
Any of:
string
string
any
any
Yanıtlar
200Success
codeintegerzorunlu
msgstringzorunlu
dataDelegateInvite[]zorunlu
Özellikleri göster
Array of DelegateInvite
membership_idstringzorunlu
rolestringzorunlu
screen_namestringzorunlu
Username of the account that sent the delegation invitation.
namestringzorunlu
user_idstringzorunlu
403Authentication or credit access denied
codeintegerzorunlu
msgstringzorunlu
dataany[] | anyzorunlu
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
422Invalid request
codeintegerzorunlu
msgstringzorunlu
dataany[] | anyzorunlu
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
500Upstream or server error
codeintegerzorunlu
msgstringzorunlu
dataany[] | anyzorunlu
Özellikleri göster
Any of:
any[]
Array of any
any
any
any
⚡Etkileşimli KonsolPOST
⚡Etkileşimli Konsol / API TestiPOST
Live Console
🌐Hedef Sunucu:https://api.twexapi.io
● Canlı Ortam Hazır
✍️
Yazma İşlemi Kimlik Kılavuzu (TwexAPI Anahtarı + Twitter Çerezi)

1. TwexAPI Anahtarı (Bearer Token): İstek faturalandırması ve kimlik doğrulama için aşağıdaki "API Yetkilendirmesi"ne girin.

2. Twitter Hesabı Çerezi: Yazma işlemleri için (tweet, beğeni, takip), aşağıdaki cookie alanına hedef hesabın Çerezini (örn. auth_token=...; ct0=...) girin.

🔑API Yetkilendirmesi
📝İstek Gövdesiapplication/json
📡
暂无响应数据

请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。

İstek
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"
}'
Yanıt
{
  "code": 200,
  "msg": "success",
  "data": []
}