Get current user
Get the authenticated user's profile and roles.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
createIfNotExist
Create the user if they don't already exist.
Response
OK
avatarUrl
The URL for the user's profile image.
createdAt
The time when the user was created.
fullName
The user's full name.
id
The user's ID.
status
The user's status.
Allowed values:
updatedAt
The time when the user was last updated.
username
The user's username.
featureFlags
The user's feature flags.
invites
The user's pending Organization invites.
isIdpManaged
Whether the user is managed by an identity provider.
organizationId
The user's primary Organization ID.
roles
The user's roles across all scopes.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error