Current user profile
Public API
Current user profile
Fetch the authenticated user’s profile from the database.
GET
Current user profile
Returns the current user record. Requires
Each successful call hits the database.
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 OKUser identifier.
Email address.
Display name.
Phone.
Whether the account is active.
Email verification state.
Whether TOTP is enabled.
Custom metadata.
Last authentication method.
Role slugs.
Permission slugs.
Status codes
| Code | Meaning |
|---|---|
| 200 | Success |
| 401 | Missing, invalid, or revoked token |
| 403 | IP or firewall block, or email verification required |
| 429 | Rate limited |