/api/user/profile
Requires authentication.
Bearer token obtained from
/api/auth/login or /api/auth/signup. Format: Bearer <token>.Example
Response
200 OKUnique identifier for the user.
The user’s display name.
The user’s email address, sourced from the local auth provider.
URL of the user’s profile picture.
null if not set.Total habit points accumulated.
Current consecutive days with at least one completed habit.
All-time highest streak.
ISO 8601 timestamp of when the account was created.
ISO 8601 timestamp of the last profile update.
Example response
Errors
| Status | Description |
|---|---|
401 | Missing, invalid, or expired token. |