api/v1/customer/auth/login

We have a single route set-up to handle verifying credentials and providing the user tokens.

Authentication can be tested using the API link below.

POST

/api/v1/customer/auth/login

Request Parameters

ParameterValue / TypeRequired
emailSTRINGtrue
passwordSTRINGtrue
reg_tokenSTRINGtrue
old_reg_tokenSTRINGtrue

Optionally, you can pass a parameter for fb_uuid to sign in with a Firebase account.

Sample Responses

{
   "status":true, 
   "token":"[TOKEN]"
}
{
   "status":false,
   "errorCode":"AUTH_USER_NOT_FOUND",
   "message":"The credentials provided did not match any users in our system."
}
{
   "status":false,
   "errorCode":"AUTH_FAIL_LOGIN",
   "message":"Credentials provided were either not provided or did not validate."
}