GET
/social-sets
social-sets:read
Header'lar
Authorization
*string
API key. Format: Bearer xpl_live_...
Query parametreleri
workspaceId
string
Narrows the results to a single workspace.
Cevaplar
200
Allowed Social Sets.
cURL
curl "https://api.xplanner.co/v1/social-sets?workspaceId=wrk_123" -H "Authorization: Bearer $XPLANNER_API_KEY"Cevap
{ "data": [ { "id": "set_123", "workspaceId": "wrk_123", "name": "XPlanner", "kind": "brand", "socialAccounts": [ { "id": "social_x_123", "platform": "x", "displayName": "XPlanner", "username": "xplanner", "connectionStatus": "active" }, { "id": "social_linkedin_123", "platform": "linkedin", "displayName": "XPlanner", "actorType": "organization", "connectionStatus": "active" } ] } ], "pagination": { "nextCursor": null }, "requestId": "req_123"}
Access and connection status
socialAccounts[].id
Used as publishTargets[].socialAccountId when creating a post.
connectionStatus
Only active accounts can become new publish targets; disconnected identities remain visible to explain historical records.