Packets

Create account

Creates a new application account for the current initialized session.

Create account creates an application-user inside the current application. This operation is available only after successful Initialize.

Request

Create account uses packet type = 1.

{
  "type": 1,
  "id": 1,
  "login": "user@example.com",
  "password": "strong-password",
  "comment": "trial user",
  "license": "ABCDEF-123456",
  "credentials_type": 1
}

Prop

Type

Response

{
  "id": 1,
  "status": 1
}

When account creation is temporarily limited by IP, response may include retry_after:

{
  "id": 2,
  "status": 5,
  "retry_after": 86390
}

Prop

Type

Behavior notes

  • Per-IP create limit applies only when account is created without a linked license.
  • retry_after is best-effort and may be absent even when status is 5.

Create-account statuses

StatusConstantReturned when
1OkAccount was created successfully.
5TooManyRequestsToo many accounts were created from the same IP in the last 24h (limit: 3) for no-license account creation.
6InternalServerErrorCreate-account request failed due to an internal server error.
603AppAccountsQuotaExceededApplication owner has reached the application plan limit for created accounts.
100LicenseNotFoundProvided license was not found in this application.
101LicenseTooShortProvided license is shorter than 6 characters.
102LicenseTooLongProvided license is longer than 64 characters.
106LicenseAlreadyLinkedProvided license is already linked to another application user and cannot be linked to this account.
107LicenseAlreadyActivatedProvided license is already activated.
202AppUserAlreadyExistsAccount creation failed due to existing account/conflict at creation stage.
204AppUserRequiresLicenseApplication requires license for account creation, but request has no non-empty license.
205AppUserLoginTooShortlogin is shorter than 4 characters.
206AppUserLoginTooLonglogin is longer than 320 characters.
207AppUserPasswordTooShortpassword is shorter than 4 characters.
208AppUserPasswordTooLongpassword is longer than 64 characters.
209AppUserEmailInvalidcredentials_type = 1 but login is not a valid email format.
210AppUserCredentialsTypeInvalidcredentials_type has unsupported value (must be 0 or 1).

Connection-close cases (before/around this usecase)

Create account itself returns JSON responses with status, but session can still be closed by protocol/session guards:

Close codeErrorWhen it happens
4200connection is not initializedRequest was sent before successful Initialize.
4201rate limit hitGlobal per-session packet rate limit was exceeded.
4302invalid request bodyPacket body does not match the required schema for this operation.

On this page