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.
| Field | Type | Description |
|---|---|---|
id | integer | Numeric ID of the workspace. |
uuid | string | UUID of the workspace. Use it in URLs. |
name | string | Name of the workspace. |
pivot.role | string | Role of the key owner in this workspace: admin, member or viewer. It decides which endpoints the key can call there. |
pivot.can_approve | boolean | Whether the key owner may approve posts in this workspace. |
pivot.joined_at | string | When the key owner joined the workspace, YYYY-MM-DD HH:MM:SS. |
{
"message": "Unauthenticated."
}