For the complete documentation index, see llms.txt. This page is also available as Markdown.

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