Skip to main content
GET
Current user profile
Returns the current user record. Requires X-API-Key and a valid Bearer access token.
Send both X-API-Key and Authorization: Bearer with your access token. Prefer local JWT validation with JWKS for hot paths; use this endpoint as a fallback or for testing.

Response

200 OK
string (uuid)
User identifier.
string
Email address.
string | null
Display name.
string | null
Phone.
boolean
Whether the account is active.
boolean
Email verification state.
boolean
Whether TOTP is enabled.
object
Custom metadata.
string | null
Last authentication method.
string[]
Role slugs.
string[]
Permission slugs.
Each successful call hits the database.

Status codes