XPlanner

Docs

İzinli X hesaplarını listele

API anahtarının erişebildiği X hesaplarını kimlik bilgisi döndürmeden listeler. Seçili hesaplı anahtarlar yalnızca izin verilen hesapları görür.


GET

/accounts

accounts:read

Header'lar

Authorization

*
string

API anahtarı. Format: Bearer xpl_live_...

Listeleme davranışı

sıralama

createdAt desc

Hesaplar bağlantı tarihine göre yeniden eskiye sıralanır.

kimlik bilgileri

dönmez

OAuth token, refresh token veya secret gibi hesap kimlik bilgileri cevap içinde yer almaz.

Cevaplar

200

İzin verilen X hesapları.

cURL

curl https://api.xplanner.co/v1/accounts \  -H "Authorization: Bearer $XPLANNER_API_KEY"

Cevap

{  "data": [    {      "id": "acc_123",      "workspaceId": "wrk_123",      "username": "xplanner",      "name": "XPlanner",      "xUserId": "123456789",      "authVersion": "2.0",      "bio": "XPlanner ürün hesabı",      "profileImageUrl": "https://pbs.twimg.com/profile_images/...",      "followersCount": 1200,      "followingCount": 80,      "postCount": 340,      "verified": false,      "verifiedType": "none",      "lastProfileSyncAt": "2026-05-15T08:30:00.000Z",      "createdAt": "2026-01-10T12:00:00.000Z",      "updatedAt": "2026-05-15T08:30:00.000Z"    }  ],  "requestId": "req_123"}