Register
POST https://yourwebsite.com/api/auth/register
Request Body
Name
Type
Description
username*
string
password*
string
email*
string
ip*
string
useragent*
string
{
"status": true,
"data": {
"token": "202cb962ac59075b964b07152d234b70"
}
}{
"status": false,
"error": "USERNAME_ALREADY_EXIST",
"message": "Username already exists!"
}{
"status": false,
"error": "EMAIL_ALREADY_EXIST",
"message": "Email already exists!"
}{
"status": false,
"error": "REGISTER_LIMIT",
"message": "You have reached the limit of registrations!"
}{
"status": false,
"error": "INVALID_USERNAME",
"message": "Invalid username!"
}Last updated