Fetch logged in user details
This api Fetch logged in user details
REST
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | /v1/employees/me | M | ||
METHOD | string | GET | M | ||
content-type | string | JSON | application/json | M | |
x-access-token | string | Session token with validity | token | M |
Request
Success
{
"_id": "54da47cfefa0c9420757e0e4",
"__v": 0,
"first_name":"abc",
"last_name":"xyz",
"gender": "male",
"email": "employee@test.com",
"mobile": "+919891055604",
"employee_id":"843778",
"company":"12da47cfe33442420757e0e4"
}
Error