Skip to main content

Sign up end users

  • POST /api/v3/accountCenter/registerUser

Weight(IP): 5

Partners can sign up end users in batches. Up to 10 users at a time. Each user is processed independently, so a failure for one user does not affect the sign-up of others.

Request parameters

ParameterTypeRequired?Description
localeStringNoSign up language.
vipCodeStringNoAffiliate referral code.
userInfosArrayYesEnd user list. Up to 10 users per entries.
userInfos[].emailStringYesEnd-user email address. Must be a valid email address, with no more than one period (.) in the local part.
userInfos[].passwordStringYesLogin password. 8 to 32 characters. At least one lowercase letter, one uppercase letter, and one number.

Request example

{
"locale": "en_US",
"vipCode": "exampleVipCode",
"userInfos": [
{
"email": "sub.user@example.com",
"password": "Password123"
}
]
}

Response parameters

Field nameTypeDescription
successUserInfoListArrayList of signed up users.
successUserInfoList[].emailStringEmail address.
successUserInfoList[].subUserIdLongEnd-user UID.
failUserInfoListArrayList of users that failed to sign up.
failUserInfoList[].emailStringEmail address.
failUserInfoList[].failCodeIntegerFailure error code.
failUserInfoList[].msgStringReason for failure.

Response example

{
"successUserInfoList": [
{
"email": "sub.user@example.com",
"subUserId": 1234567890
}
],
"failUserInfoList": [
{
"email": "exists@example.com",
"failCode": -4304,
"msg": "Email already exists."
}
]
}