GET /v1/accounts/me
Fetch the current account profile. GET/v1/accounts/me
Requires a Bearer token in the Authorization header.
Example
Response
true when the request succeeded.The account profile.
PATCH /v1/accounts/me
Update one or more profile fields. PATCH/v1/accounts/me
Requires a Bearer token in the Authorization header.
Request
All fields are optional. At least one field must be provided.Updated given name.
Updated family name.
Updated phone number.
Updated date of birth. Accepts any value parseable by
new Date(), e.g. "1990-05-14".Public CDN URL of a newly uploaded avatar. Obtain this URL from
POST /v1/auth/avatar first.Example
Response
true when the update was applied.Human-readable confirmation message.
Error cases
| Status | Error | Description |
|---|---|---|
| 400 | No valid fields provided for update | The request body contained no recognised fields. |
| 401 | — | Missing or invalid Bearer token. |
| 404 | Profile not found | No user record exists for the authenticated user (GET only). |
| 500 | Failed to fetch/update profile | An unexpected server-side error occurred. |