Login
POST https://yourwebsite.com/api/auth/login
Request Body
Name
Type
Description
username*
string
password*
string
ip*
string
useragent*
string
{
"status": true,
"data": {
"token": "202cb962ac59075b964b07152d234b70",
"isTfaRequired": false
}
}{
"status": false,
"error": "USER_NOT_FOUND",
"message": "User not found!"
}{
"status": false,
"error": "WRONG_PASSWORD",
"message": "Wrong password!"
}Last updated