cURL
curl --request GET \ --url https://api-dev.meeamitech.com/auth/v1/users/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "User Listed Successfully", "data": { "_id": "67c97464ae3d19dc2bbff05d", "teamId": "67a2ea1d828c9098134e7b92", "firstName": "john", "lastName": "Doe", "email": "[email protected]", "password": "$2b$10$I9NsnI5BWvwXXFAGLnsAs.DSUNKGoVHEYPkx.lxhT12W7rjypM/pG", "createdAt": "2025-03-06T10:09:40.301Z", "updatedAt": "2025-03-25T08:26:23.653Z", "__v": 0 } }
Retrieve a single user by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the user to retrieve
User details retrieved successfully
The first name of the user
The last name of the user
The email of the user
The password of the user