XPlanner

Docs

List Social Sets and publish targets

Lists the Social Sets available to the API key together with their X, LinkedIn, and Threads accounts, without returning credentials.


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.

Access and connection status

socialAccounts[].id

publishTargets

Used as publishTargets[].socialAccountId when creating a post.

connectionStatus

active | disconnected

Only active accounts can become new publish targets; disconnected identities remain visible to explain historical records.

legacyAccountId

geriye uyumlu

Shows the X accountId context used by existing idea, folder, and media flows.

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",      "legacyAccountId": "acc_123",      "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"}