This endpoint returns the full profile of the currently authenticated user. It is the primary way for a client to inspect the account associated with a given access token — for example, to determine the user’s roles for frontend route guarding, to display their email, or to check which social login providers they have connected. The endpoint requires a valid JWT access token in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ricardomb-tech/auth-service/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header and returns a 401 for any request that is missing, malformed, or expired.
Endpoint
Method:GETPath:
/api/v1/users/meAuth: Required —
Authorization: Bearer <access_token>
Request
No request body. Authentication is provided exclusively via theAuthorization header.
Response — 200 OK
The account’s unique identifier, a UUID v4 formatted as a string (e.g.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"). Stable across all login methods and token rotations.The verified email address associated with the account.
The set of roles granted to the account. Possible values are
"USER" and "ADMIN". All regular accounts receive ["USER"] at creation. Example with both roles: ["USER", "ADMIN"].The current lifecycle state of the account. One of:
| Value | Meaning |
|---|---|
PENDING_VERIFICATION | The account was registered but the email address has not yet been verified. The account cannot log in with credentials until verified. |
ACTIVE | The account is fully operational. Login with credentials and federated login are both allowed. |
LOCKED | The account has been temporarily locked (e.g. due to future brute-force protection). Login is refused until the lock is lifted. |
DISABLED | The account has been administratively disabled. Login is refused. |
The list of OAuth2 providers linked to this account, represented as lowercase provider names. An account may have zero or more linked identities. Possible values are
"google" and "github". Example: ["google", "github"] for an account linked to both providers.The ISO 8601 UTC timestamp of when the account was first created (e.g.
"2024-01-15T10:30:00Z").Error responses
| Status | When |
|---|---|
401 Unauthorized | The Authorization header is missing, the token is malformed, the token signature is invalid, or the token has expired. |