Xsolla-logo
  • 문서화
  • 계정 생성

서버에서 새 사용자 등록

post/users

Creates a new user with requested body parameters. These parameters are set as confirmed. Combination of parameters passed to the body must include at least email or phone_number parameter. The call is used only if you set up Xsolla storage.

Notice
Rate limits for server-side methods are applied to this method.

SecurityServer
Request
query Parameters
projectId
required
string <uuid>

게시자 계정의 로그인 프로젝트 ID입니다.

Request Body schema: application/json
email
string

사용자 이메일 주소입니다.

external_account_id
string

게임의 사용자 ID입니다.

phone_number
string^\+(\d){5,25}$

사용자 전화 번호입니다. 전화 번호를 통한 인증에 사용됩니다.

phone_number_verified
boolean

Flag indicates that the phone number has been verified.

Responses
200

확인

400

잘못된 요청

401

인증되지 않음

404

찾을 수 없음

422

처리할 수 없는 엔터티

429

요청이 너무 많음

Request samples
application/json
{
  • "email": "asd123@asd123.asd",
  • "external_account_id": "1234567890asdfghjkl",
  • "phone_number": 123456789
}
Response samples
application/json
{
  • "user_id": "ff449154-7e2f-11e8-ad67-d89d67155224"
}