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
| Parameter | Value / Type | Required |
|---|---|---|
| STRING | true | |
| password | STRING | true |
| reg_token | STRING | true |
| old_reg_token | STRING | true |
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."
}