Default Workspace and Membership
When To Use It
Use this flow when a signed-in user needs to discover accessible workspaces or switch the default workspace.
Prerequisites
- valid JWT session
- valid
X-Client-Hash - onboarding flow completed enough to resolve workspace context
Call Sequence
- load the user's workspace list
- determine the active or default workspace
- change the default workspace if the UX supports switching
Branch Decisions
- one workspace or many
- existing default workspace or not
- self-managed choice or admin-managed restrictions
Common Failures
- wrong assumption that workspace data lives inside onboarding
- portal and role mismatch
- stale JWT session