Skip to content

registerGJAccount.php

This endpoint is used to register an account

Parameters

ParameterExplanationOptional
userNameThe username of the account to createFalse
passwordThe password of the account to createFalse
emailThe email of the account to createFalse
secretAccount Secret: Wmfv3899gc9False

Response

Successful Request

1

Failed Request

Error CodeMeaning
-1Generic Error
-2Username taken
-3Email taken
-4Username is longer than 20 characters
-5Invalid Password
-6Invalid Email
-8Password to short
-9Username to short