Login
Details#
This endpoint is used to log in the user. Works for Companies, Admins or any other type of user with an account.
URL : /auth/login
Method :
POST
Parameters#
email#
Body Parameter
Required
String
Email of the account trying to log in.
Must be in a valid email format.
password#
Body Parameter
Required
String
Password of the account trying to log in.
Request examples#
Example 1 - Successful Login#
Code :
200 OK
- Request
- Response
Example 1 - Invalid Credentials#
Code :
401 UNAUTHORIZED
- Request
- Response