v1

latestOpenAPI 3.1.02026-07-226875162.5 KB
Wiki

List Workspaces

List all workspaces accessible to the caller's API key or OAuth token.

Resolution order:

  1. Workspace-bound API key → the single bound workspace
  2. Organization-bound API key → all active workspaces in the organization
  3. Legacy team API key → the team's workspace
  4. Personal/OAuth key → all workspaces the user is a member of

Use this endpoint to enumerate workspaces when your account belongs to multiple workspaces, then pass the chosen workspace guid to the wiki endpoints.

get/v1/external/workspaces

Response

List of accessible workspaces

Example response

{
  "workspaces": [
    {
      "guid": "ws_abc123",
      "name": "Acme Corp",
      "isWikiEnabled": true
    }
  ]
}