User Info
Details#
This 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#
data#
Response 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 Company#
Code :
200 OK
- Request
- Response
Example 2 - Logged-In as Admin#
Code :
200 OK
- Request
- Response
Example 2 - Not Logged-In#
Code :
401 UNAUTHORIZED
- Request
- Response