post

/user

Creates a new user.

  • If you store user data at Xsolla or custom storage, the user will receive an account confirmation message.
  • If you store user data at PlayFab, the user will not receive an account confirmation message.

See Selecting a User Data Storage instruction for more information about user data storages.

Request Parameters

3 Query Parameters

Request Body

Schema
object

User details.

accept_consent
boolean

Whether the user gave consent to processing of their personal data.

1 validation
email
string

User email address.

3 validations + required
fields
object

Parameters used for extended registration form. To use this feature, please contact your Account Manager.

1 validation
password
string

User password.

3 validations + required
promo_email_agreement
integer

User consent to receive the newsletter.

4 validations
username
string

Username.

3 validations + required

Responses

OK (Account confirmation is disabled)

Schema
object
login_url
string

URL with the token and remember_me parameters to redirect the user to after successful registration. The token value is the user JWT.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.