Listing workspaces
Every workspace you own, with the id `workspaceId` takes everywhere else.
GET
https://antwork.io/api/v1/workspacesScopereadRequest
curl https://antwork.io/api/v1/workspaces \
-H "Authorization: Bearer $ANTWORK_API_KEY"Oldest first, and not paged: an account has a handful. A deleted workspace is not listed, because nothing can be posted to it. With one workspace you can leave workspaceId out of every other call. Needs the read scope.
Response
200 OK
{
"object": "list",
"workspaces": [
{
"object": "workspace",
"id": "ws_...",
"name": "Antwork",
"website": "https://antwork.io",
"logoUrl": "https://firebasestorage.googleapis.com/...",
"timezone": "Europe/Madrid",
"brandVersion": 4,
"createdAt": "2026-01-05T09:00:00.000Z",
"updatedAt": "2026-10-01T09:00:00.000Z"
}
]
}brandVersion goes up whenever the name, website, logo or settings change. If you cache a workspace, refresh it when the number moves.