XPlanner

Docs

Fetch Posts

List posts in draft, scheduled and pushed status with cursor pagination.


Örnek

Gönderi getirme isteği

Gönderileri workspaceId, status, socialSetId, limit ve cursor ile filtrele.

Sosyal Set

socialSetId değerini GET /social-sets ile al; Workspace guard'ı gerekiyorsa workspaceId gönder.

Durum

status gönderinin yaşam döngüsünü temsil eder. Platform sonuçları ayrıca publishTargets içinde döner.

Sayfalama

limit 1-100 arası tam sayıdır. nextCursor varsa sonraki sayfada cursor olarak gönder.

cURL

curl "https://api.xplanner.co/v1/posts?status=scheduled&socialSetId=set_123&limit=20" \  -H "Authorization: Bearer $XPLANNER_API_KEY"