The user endpoints let authenticated clients inspect and modify account information. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/EstefanoARG/FridgeRadar/llms.txt
Use this file to discover all available pages before exploring further.
/me routes act on the token owner’s own record, making it easy to build profile screens without exposing the caller’s internal user ID. The root GET / route returns all registered users and is intended for admin or household-invitation flows.
GET /api/v1/usuarios/me
Returns the full profile of the currently authenticated user. The identity is derived from the Bearer token — no path or query parameters are needed. Authentication:Authorization: Bearer <token> required.
Response — 200 OK
Unique numeric identifier for the user.
First name(s) on file.
Last name(s), or
null if not set.The email address used to authenticate.
ISO 8601 timestamp of account creation.
Current account status (e.g.
"activo", "inactivo").| Status | Meaning |
|---|---|
200 OK | User profile returned successfully. |
401 Unauthorized | Token missing, expired, or invalid. |
PATCH /api/v1/usuarios/me
Partially updates the authenticated user’s profile. Send only the fields you want to change; omitted fields retain their current values. Authentication:Authorization: Bearer <token> required.
Updated first name(s). Optional.
Updated last name(s). Optional.
New email address. Must be a valid email and unique across all accounts. Optional.
New plain-text password. The service will hash it before saving. Optional.
Account status override (e.g.
"activo", "inactivo"). Optional.Response — 200 OK
Returns the complete updated user object using the same shape asGET /me.
Unchanged primary key.
First name(s) after the update.
Last name(s) after the update.
Email after the update.
Original registration timestamp — never modified by this endpoint.
Account status after the update.
| Status | Meaning |
|---|---|
200 OK | Profile updated; full updated object returned. |
401 Unauthorized | Token missing, expired, or invalid. |
409 Conflict | The requested email is already in use by another account. |
422 Unprocessable Entity | Validation error — e.g. invalid email format. |
GET /api/v1/usuarios/
Returns an array of all registered user profiles. Useful for resolving user IDs when adding members to a household. Authentication:Authorization: Bearer <token> required.
Response — 200 OK
Returns a JSON array where each element follows theUsuarioResponse shape.
Unique numeric identifier for the user.
First name(s).
Last name(s), or
null.Registered email address.
Account creation timestamp.
Account status.
| Status | Meaning |
|---|---|
200 OK | Array of user objects returned (may be empty). |
401 Unauthorized | Token missing, expired, or invalid. |