Auth
List the caller's workspaces
The workspaces the presented credential can act in. For Clerk tokens: all workspaces (Clerk organizations) the authenticated user belongs to. For Monid API keys: exactly the key's bound workspace (an API key can only act in the workspace it was created in). Requires an authenticated user but NOT a selected workspace — use this to discover which workspace to select.
get/v1/auth/workspaces
Response
The workspaces the credential can act in — the user's memberships for Clerk tokens, the single bound workspace for API keys
Example response
{
"workspaces": [
{
"workspaceId": "org_2abcDEFghiJKLmnop",
"slug": "acme-inc"
}
]
}