Get the authenticated user
GET/users/me
Returns the currently authenticated user, hydrated with their current-organization context and the full list of role assignments (each role carries the organizationId it applies to).
This is the org-role model clients use for access gating: inspect roles[] for an entry whose organizationId matches the target organization and read its slug. Organization-scoped role slugs are org-owner, org-admin, org-member, and org-client (the last being the read/write-data-only role assigned to client-managed/programmatic users); platform-level role slugs admin, user, and stealth may also appear with a null organizationId.
If the user has no current organization set, the platform defaults it to their oldest organization before responding.
When authenticated as a client-managed service-account token, this reflects the service account's own identity (not a human's).
Request
Responses
- 200
- 401
The authenticated user
Not authenticated