Get authenticated user profile
GET/company/users/me
Returns the complete profile of the currently authenticated user via JWT. Includes all the user's personal data, preferences, and configuration.
Objective
Allow the user to obtain their own profile information to display in the interface and verify their verification status.
Use Cases
- Display profile information in the frontend
- Verify email verification status
- Obtain language and timezone preferences
- Load user data into edit forms
Authentication
- Requires a valid JWT (m.isLoged middleware)
- User must be authenticated
Notes
- Returns data using model.parseMe() with extended information
- Error 404 if userData does not exist in the token
Request
Responses
- 200
- 401
- 404
User profile obtained successfully
Unauthorized. Possible causes:
- Invalid or expired JWT token
- User lacks permissions
User not found