API Reference/api/user/api/user/check

/api/user/check

POST
Check if a user exists

Body (JSON)

Field NameTypeDescription
codestringInvite code
usernamestringThe username to check

200
Ok (JSON)

Field NameTypeDescription
successbooleantrue if the user exists, false otherwise
{
"success": true
}

400
Bad Request (JSON)

  • username already exists - The username provided already exists.
  • no code - No invite code was provided.
  • no username - No username was provided.
  • invalid invite code - The invite code provided is invalid (doesn't exist probably).

401
Forbidden (JSON)

Last updated: 3/1/2024
Edit this page on GitHub