Get current user profile
Authentication
Get Current User
Return profile information for the authenticated user.
GET
Get current user profile
Returns the authenticated user’s profile in a single call: their identity, organisation context, team assignment, and the feature modules enabled for their organisation. Useful for initialising application state after authentication without needing to stitch together multiple requests.
Best Practices
- Session initialisation: Call this endpoint immediately after authentication to hydrate your application with user and org context.
- Feature gating: Use
enabled_feature_modulesto conditionally show or hide features in your integration before making downstream API calls. - Early access: Check
organisation.early_accessto determine whether the organisation has access to preview features. - Team context: The
teamfield is the user’s currently assigned team within the organisation, ornullif the user has not been assigned to one. Use it to scope team-specific UI and actions. - Caching: The response is cheap to fetch but safe to cache for the duration of a session. Invalidate on logout or org changes.
Response
User profile retrieved successfully