User
Get user profile
Retrieve the authenticated user’s profile information.
GET
Authentication
All requests to this endpoint must include a valid JWT in theAuthorization header.
Response
A human-readable confirmation message. Example:
"User profile retrieved successfully"HTTP status code.
200 on success.Error responses
| Status | Error code | Description |
|---|---|---|
401 | INVALID_CREDENTIALS | The Authorization header is missing or the token is invalid. |
401 | TOKEN_EXPIRED | The JWT has expired. |
404 | USER_NOT_FOUND | No account exists for the user ID encoded in the token. |
502 | DEPENDENCY_FAILURE | A downstream dependency (DynamoDB or Secrets Manager) returned an error. |
500 | INTERNAL_SERVER_ERROR | An unexpected server-side error occurred. |