post

/oauth2/user

Adds a new user to the database.

  • If you store user data at Xsolla 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.

To get more information about user data storages, follow this link.

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

Email.

1 validation + required
fields
object

Parameters for advanced user registration. To use this feature, please contact your Account Manager.

1 validation
password
string

Password.

3 validations + required
promo_email_agreement
integer

User’s consent to receive the newsletter.

4 validations
username
string

Username.

1 validation + required

Responses

Send a Test Request

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