Social sets

List your Pallyy social sets and their connected accounts via the API. Almost every other endpoint needs a social set id.

A social set groups the social accounts you manage together, one set per brand or client. Post sets and media always belong to a social set, so listing your sets is usually the first call you make: almost every other endpoint takes a socialSetId.

Social sets are read-only over the API. If your key is restricted to specific social sets, only those sets are visible.

List social sets

GET /v1/social-sets
curl https://app.pallyy.com/api/v1/social-sets \
  -H "Authorization: Bearer pallyy_your_api_key"

Returns every social set the key can access. This list is not paginated:

{
  "items": [
    {
      "id": "665f1c2ab7e2a4d1f0a1b2c3",
      "name": "My Brand",
      "timezone": "Europe/Rome",
      "defaultPostTime": "09:30",
      "thumbnailUrl": "https://...",
      "accounts": [
        {
          "id": "665f1c2ab7e2a4d1f0a1b2c4",
          "type": "INSTAGRAM",
          "name": "My Brand",
          "handle": "mybrand",
          "thumbnailUrl": "https://...",
          "accessToken": { "hasError": false }
        }
      ],
      "createdAt": "2026-01-12T09:00:00.000Z",
      "updatedAt": "2026-08-01T10:00:00.000Z"
    }
  ]
}

Get a social set

GET /v1/social-sets/{id}

Returns a single social set, or a 404 if the id does not exist or is outside the key's restriction.

The social set object

FieldTypeMeaning
idstringThe social set id, used as socialSetId everywhere else
namestringDisplay name
timezonestringIANA timezone the set schedules in, if configured
defaultPostTimestringDefault posting time as HH:mm, if configured
thumbnailUrlstringAvatar shown in Pallyy, if set
accountsarrayThe connected social accounts
createdAtstringISO 8601 creation time
updatedAtstringISO 8601 last update time

Each entry in accounts describes one connected profile:

FieldTypeMeaning
idstringThe account id within Pallyy
typestringOne of INSTAGRAM, FACEBOOK, TWITTER, LINKEDIN_PERSONAL, LINKEDIN_PAGE, GMB, PINTEREST, TIKTOK, YOUTUBE, THREADS, BLUESKY
namestringProfile display name
handlestringProfile handle or username
thumbnailUrlstringProfile picture
accessToken.hasErrorbooleantrue when the connection has expired and needs to be reauthorized in Pallyy

The type values are the same accountType values you target when creating post sets.

View as markdown

More in Endpoints

Questions about the API? Email us at hey@pallyy.com and we'll get back to you.