Domain name for API request: intlpartnersmgt.tencentcloudapi.com.
This API is used to create Tencent Cloud customer accounts for first-level resellers/second-level resellers. After the account is created, it will be automatically bound to the partner account.Note:1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.2. Customers need to add personal information when logging in for the first time.3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
A maximum of 5 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: CreateAccount. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
AccountType | Yes | String | Account type of a new customer. Valid values: personal , company . |
Yes | String | Registered email address, which should be valid and correct. For example, account@qq.com. |
|
Password | Yes | String | Account password Length limit: 8-20 characters A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not allowed. |
ConfirmPassword | Yes | String | The confirmed password, which must be the same as that entered in the Password field. |
PhoneNum | Yes | String | Customer mobile number, which should be valid and correct. A global mobile number within 1-32 digits is allowed, such as 18888888888. |
CountryCode | Yes | String | Customer's country/region code, which can be obtained via the GetCountryCodes API, such as "852". |
Area | Yes | String | Customer's ISO2 standard country/region code, which can be obtained via the GetCountryCodes API. It should correspond to the CountryCode field, such as HK . |
Extended | No | String | Extension field, which is left empty by default. |
Parameter Name | Type | Description |
---|---|---|
Uin | String | Account UIN |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
Applying to create a customer account
POST / HTTP/1.1
Host: intlpartnersmgt.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateAccount
<Common request parameters>
{
"Extended": "test",
"CountryCode": "852",
"Area": "HK",
"PhoneNum": "18888888888",
"AccountType": "business",
"Mail": "account@qq.com",
"Password": "ABCabc123!",
"ConfirmPassword": "ABCabc123"
}
{
"Response": {
"Uin": "200000123456",
"RequestId": "a9e390a7-a1af-42cd-8178-13bd046337a7"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure | CAM signature/authentication error. |
FailedOperation.MailIsRegistered | FailedOperation.MailIsRegistered |
InternalError | Internal error. |
InvalidParameter.AccountTypeContentIncorrect | InvalidParameter.AccountTypeContentIncorrect |
InvalidParameter.AreaContentIncorrect | InvalidParameter.AreaContentIncorrect |
InvalidParameter.AreaFormatIncorrect | InvalidParameter.AreaFormatIncorrect |
InvalidParameter.ConfirmPasswordContentIncorrect | InvalidParameter.ConfirmPasswordContentIncorrect |
InvalidParameter.CountryCodeContentIncorrect | InvalidParameter.CountryCodeContentIncorrect |
InvalidParameter.CountryCodeFormatIncorrect | InvalidParameter.CountryCodeFormatIncorrect |
InvalidParameter.MailFormatIncorrect | InvalidParameter.MailFormatIncorrect |
InvalidParameter.PasswordContentIncorrect | InvalidParameter.PasswordContentIncorrect |
InvalidParameter.PasswordFormatIncorrect | InvalidParameter.PasswordFormatIncorrect |
InvalidParameter.PhoneNumFormatIncorrect | InvalidParameter.PhoneNumFormatIncorrect |
InvalidParameterValue.AccountTypeEmpty | InvalidParameterValue.AccountTypeEmpty |
InvalidParameterValue.AreaEmpty | InvalidParameterValue.AreaEmpty |
InvalidParameterValue.CountryCodeEmpty | InvalidParameterValue.CountryCodeEmpty |
InvalidParameterValue.MailEmpty | InvalidParameterValue.MailEmpty |
InvalidParameterValue.PasswordEmpty | InvalidParameterValue.PasswordEmpty |
InvalidParameterValue.PhoneNumEmpty | InvalidParameterValue.PhoneNumEmpty |
UnauthorizedOperation | Unauthorized operation. |
Was this page helpful?