Domain name for API request: faceid.intl.tencentcloudapi.com.
This API is used to query the duration of a mobile number. Enter mobile number to query.
A maximum of 20 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: MobileNetworkTimeVerification. |
| Version | Yes | String | Common Params. The value used for this API: 2018-03-01. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| Mobile | Yes | String | Mobile number. |
| Encryption | No | Encryption | Sensitive data encryption info. -Users with encryption requirements for incoming information (mobile number) can use this parameter. For details, please click the left-side link. |
| Parameter Name | Type | Description |
|---|---|---|
| Result | String | Verification result code. Billing is as follows. -Result code for charges Success. -2: Mobile number does not exist. -3: The mobile number exists, but unable to query the duration. -Result code with no charge -Invalid phone number format. -4: Verification Center Service is busy. -5: Authentication attempts exceeded the daily limit. Retry the next day. |
| Description | String | Business result description. |
| Range | String | Online duration interval. -The format is [a,b), which means the online duration is longer than a months and shorter than b months. -If b is +, it means no upper limit. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
https://faceid.intl.tencentcloudapi.com/?Action=MobileNetworkTimeVerification
&Mobile=13800138000
&<Common request parameters>
{
"Response": {
"Result": "0",
"Description": "Success"
"Range": "[24,+)",
"RequestId": "f893bfcf-167d-45df-99aa-60a23fe5809d"
}
}
https://faceid.intl.tencentcloudapi.com/?Action=MobileNetworkTimeVerification
&Mobile=16137688175
&<Common request parameters>
{
"Response": {
"Result": "-2",
"Description": "Phone number not found"
"Range": "",
"RequestId": "3151331a-277e-4317-891d-0ef4e0afdd3e"
}
}
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 |
|---|---|
| FailedOperation.DecryptSystemError | Decryption failed. |
| FailedOperation.StsUnAuthErrError | STS unauthorized. |
| FailedOperation.UnKnown | Unknown internal error. |
| InvalidParameter | Invalid parameter. |
| InvalidParameter.UnsupportEncryptField | Unencrypted fields exist. Refer to the documentation to modify. |
| InvalidParameterValue | Incorrect parameter value. |
| InvalidParameterValue.BizTokenExpired | BizToken expired. |
| InvalidParameterValue.RuleIdNotExist | RuleId does not exist. Go to the eKYC console to apply. |
| UnauthorizedOperation.Arrears | The account is in arrears. |
| UnauthorizedOperation.ChargeStatusException | The billing status is abnormal. |
| UnauthorizedOperation.NonAuthorize | Identity verification has not been completed for the account. |
| UnauthorizedOperation.Nonactivated | The service has not been activated. |
文档反馈