Creates a new user.
See the Comparison of user data storages page for more information about user data storages.
response_type required | string Grant type used in your project that has the enabled OAuth 2.0 protocol. Must be |
client_id required | integer Your application ID. Get it after creating an OAuth 2.0 client. |
state required | string Value used for additional user verification. Often used to mitigate CSRF Attacks. The value will be returned in the response. Must be longer than 8 symbols. |
scope | string Scope is a mechanism in OAuth 2.0 to limit an application’s access to a user’s account. Can be:
If you process your own values of the |
audience | string Identification parameter of the application the token was issued for. Parameter value will be passed in the |
redirect_uri | string URL to redirect the user to after account confirmation, successful authentication, or password reset confirmation. To set up this parameter, contact your Customer Success Manager or email to csm@xsolla.com. Notice
The parameter is required if you have more than one redirect URI in your project settings. |
payload | string Your custom data. The value of the parameter will be returned in the |
username required | string [ 3 .. 255 ] characters Username. |
password required | string [ 6 .. 100 ] characters User password. |
email required | string [ 1 .. 255 ] characters User email address. |
accept_consent | boolean Whether the user gave consent to processing of their personal data. |
fields | object Parameters used for extended registration form. To use this feature, please contact your Customer Success Manager. |
OK (Account confirmation is disabled)
No Content (Account confirmation is enabled)
Bad Request
Not Found
Unprocessable Entity
Too Many Requests
{- "email": "john-email@email.com",
- "fields": {
- "additional_agreement": true,
- "nickname": "Johny",
- "promo_email_agreement": true
}, - "password": "password123",
- "username": "John"
}
{- "login_url": "string"
}