Get user details
GET/company/users/:id
Returns the complete information of a specific company user.
Required Permissions:
- Regular users can only view their own profile
- Administrators can view any user in their company
Usage Example:
- View another user's profile (admin only)
- Verify contact information
Note: Non-administrator users attempting to view another profile will receive a 401 error
Request
Responses
- 200
- 401
- 404
User details retrieved successfully.
Unauthorized. Possible causes:
- Invalid or expired JWT token
- User does not have permission to view this profile
User not found or does not belong to the company.