Skip to main content
Retrieve the profile of the currently authenticated user. This endpoint is useful for verifying your session or API key and inspecting your role and account status.

Endpoint

Authentication

Send the session cookie obtained from login, or include Authorization: Bearer <api-key>.

Response

string
Unique identifier of the user.
string
Username of the account.
string | null
Email address if set, otherwise null.
string
User role, such as "user" or "admin".
boolean
Whether the account is currently disabled.