Get current admin user profile
Retrieve the profile of the currently authenticated admin user
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Responses
application/json
User profile retrieved successfully
{
"status": "success",
"message": "User profile fetched successfully",
"data": {
"user": {
"_id": "64f1a2b3c4d5e6f7890a1234",
"name": "John Doe",
"email": "john@example.com",
"isEmailVerified": true,
"phone": 1234567890,
"isPhoneVerified": true,
"type": "user",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}
}
Modified at 2026-04-08 13:49:39