User Info
#
DetailsThis endpoint is used to get information about the currently logged-in user.
URL : /auth/me
Method :
GET
Authentication
Auth is required to get the user info.
#
Response#
dataResponse Field
Object
Object containing data about the logged-in user. Contains information about the email, its company and whether it is an admin or not.
#
Request examples#
Example 1 - Logged-In as CompanyCode :
200 OK
- Request
- Response
#
Example 2 - Logged-In as AdminCode :
200 OK
- Request
- Response
#
Example 2 - Not Logged-InCode :
401 UNAUTHORIZED
- Request
- Response