post

/oauth2/user

Creates a new user.

  • If you store user data at Xsolla or in custom storage, the user will receive an account confirmation email.
  • If you store user data at PlayFab, you can set up sending the account confirmation email to the user. Use the PlayFab instruction for this.

See the Comparison of user data storages page for more information about user data storages.

Request Parameters

5 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 generated from the redirect_uri with additional parameters. The code parameter is the user authentication code which must be exchanged to a JWT.

1 validation

Send a Test Request

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