Get the calling user’s profile

View as MarkdownOpen in Claude

Returns the calling user’s profile, including identity-provider details, every organisation the user is a member of, and the role in each. Use this to drive an organisation switcher in the operator UI and to populate user-display fields.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

The calling user’s profile.

userIdstring
Stable identifier of the calling user.
providerstring
Identity provider that authenticated the user.
emailobject or null
Email address from JWT claims.
nameobject or null
Display name from JWT claims.
pictureobject or null
Profile picture URL.
organizationslist of objects
Organisations the user is a member of, with their role in each.