/v4/user/create

Create User

POST /v4/user/create

This endpoint creates and returns user information. The name must be unique; if a user with the same name already exists, it returns the existing user's information. The returned user_code value is used to identify the user in subsequent user-related API requests.

When converting from Transfer->Seamless or Seamless->Transfer, you cannot use the previously created user code. It is recommended to call it every time a user logs in to the site and receive and use the user code.

Headers

NameValue

Authorization

Bearer <API_TOKEN>

Content-Type

application/json

Accept

application/json

Body

{
  "name": "test"
}
NameTypeDescription

name

string

User's Name Max length: 50 Min length: 2 Allowed characters: a~z, A~Z, 0~9, _

Response

{
  "code": 0,
  "message": "OK",
  "data": {
    "user_code": 3
  }
}
KeyTypeDescription

code

integer(32bit)

Response Code

message

string

Response Message

user_code

integer(64bit)

User's Code(Unique ID)

Last updated