SocialKit
APISystem

List your workspaces

Get every workspace the key owner belongs to, with their role in each, for example to find the workspace UUID that all other endpoints need.

Workspaces come most recently updated first. The list is not paginated and takes no query parameters. Use a returned uuid as <workspaceUuid> in every workspace endpoint.

Request

  • Method: GET
  • URL: https://app.socialk.it/core/api/workspaces
  • Authorization: Bearer <personal-key>
  • Roles: any user with a valid key (see Permissions)

Example

curl -X GET 'https://app.socialk.it/core/api/workspaces' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <personal-key>'

Response

{
  "data": [
    {
      "id": 2,
      "uuid": "3bbd0951-5b04-432b-b2a0-688588b0720e",
      "name": "Northwind Studio",
      "pivot": {
        "role": "admin",
        "can_approve": true,
        "joined_at": "2026-01-15 10:30:00"
      }
    },
    {
      "id": 1,
      "uuid": "f9288040-0d50-4e40-83d6-10ef6dd31d9d",
      "name": "Personal",
      "pivot": {
        "role": "member",
        "can_approve": false,
        "joined_at": "2025-11-02 08:12:44"
      }
    }
  ]
}

Each workspace holds the key owner's own membership in pivot.

FieldTypeDescription
idintegerNumeric ID of the workspace.
uuidstringUUID of the workspace. Use it in URLs.
namestringName of the workspace.
pivot.rolestringRole of the key owner in this workspace: admin, member or viewer. It decides which endpoints the key can call there.
pivot.can_approvebooleanWhether the key owner may approve posts in this workspace.
pivot.joined_atstringWhen the key owner joined the workspace, YYYY-MM-DD HH:MM:SS.
{
  "message": "Unauthenticated."
}

On this page