blazeauth
Reference

create_account

Create a new credentials account (login/password or email/password).

create_account

Create a new account inside the current application.

  • Type: 2
  • Requires initialization: yes
  • Requires authorization: no

Request and response example

create_account
Create a new app user.

Request fields

FieldTypeRequiredMeaning
iduint64yesRequest id.
loginstringyesLogin or email (depends on credentials_type).
passwordstringyesPlain password (hashing is server-side).
commentstring | nullnoOptional internal note.
licensestring | nullnoOptional license key to activate and bind during creation.
credentials_typeintyes0 = login/password, 1 = email/password.

Response fields

FieldTypeMeaning
iduint64Your request id.
retry_afterint64Seconds until next allowed attempt (only on rate limit).
statusintResult status.

Common statuses

StatusMeaning
1ok
5rate_limited
200account_already_exists
201account_email_invalid
204account_password_too_short
205account_password_too_long
206account_login_too_short
207account_login_too_long
303sessions_quota_exceeded
6internal_server_error

On this page