Fetch user details
This api Fetch user details
REST
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | /v1/auth_user | 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": "5936b287ef91xxxxxxxxxxxx",
"username": "employee@test.com",
"email_verification": "approved",
"roles": [
"company",
"employee"
]
}
Error