Xsolla-logo

Create user

post/projects/{project_id}/users

Creates a new user.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID.

Request Body schema: application/json
user_id
required
string

User ID.

balance
number
register_date
string
wallet_amount
integer
wallet_currency
string
user_name
string

Username.

user_custom
string

Custom parameter for user identification.

email
string

User email.

enabled
boolean
Responses
204

No Content.

Request samples
application/json
{
  • "user_id": "1",
  • "balance": 0,
  • "register_date": "string",
  • "wallet_amount": 0,
  • "wallet_currency": "string",
  • "user_name": "string",
  • "user_custom": "string",
  • "email": "string",
  • "enabled": true
}