Profile and Onboarding
When To Use It
Use this flow after authentication when the UI needs account basics, onboarding state, and next-step routing.
Prerequisites
- valid JWT session
- valid
X-Client-Hash - correct portal entrypoint
Call Sequence
- fetch own profile
- fetch onboarding state
- branch into workspace selection, invitation handling, or normal app entry
Branch Decisions
- onboarding complete or not
- default workspace exists or not
- invitation inbox needs separate loading
Common Failures
- treating onboarding as a full invitation aggregate
- missing JWT
- fingerprint mismatch
- portal mismatch