Domain name for API request: rce.intl.tencentcloudapi.com.
Used to report events that do not require real-time decision-making in your business. Our engine will perform computations and apply machine learning to mine risk features from these events, which are then used to support real-time event risk assessment.
A maximum of 1000 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: ReportEvent. |
| Version | Yes | String | Common Params. The value used for this API: 2026-01-30. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| EventCode | Yes | String | Event code. Used to specify the scenario node for business access. Standard events under the account protection product include:
Standard events under the payment protection product include:
Standard events under the promotion protection product include:
Custom events can be evaluated for risk based on an agreement with RCE |
| EventTime | Yes | String | The time when the event occurred Parameter format: Millisecond-level time with UTC time zone compliant with the ISO 8601 standard |
| SessionId | Yes | String | The user's current session ID used to associate with the actions before and after logging in. If UserId is not passed, SessionId is required. If missing, an empty string can be filled. |
| DeviceToken | Yes | String | The token provided by the SDK integrated in your web site or application |
| UserIp | Yes | String | User client IP address (IPv4 or IPv6) |
| EventDetail | Yes | EventDetail | Event details, import corresponding event information based on the event code you input |
| UserId | No | String | The user's account ID in your system |
| UserEmail | No | String | Email of the user |
| UserPhone | No | String | Phone number of the user Parameter format: Complies with the E.164 standard format, which includes "+", region code, and number |
| Browser | No | Browser | The details of the browser. If you've already integrated our device SDK, this field is not required |
| App | No | App | The details of the app, os and device.If you've already integrated our device SDK, this field is not required |
| Parameter Name | Type | Description |
|---|---|---|
| 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. |
POST / HTTP/1.1
Host: rce.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ReportEvent
<Common request parameters>
{
"EventCode": "login",
"EventTime": "2026-07-07T15:16:31.000+08:00",
"SessionId": "se****************56",
"DeviceToken": "v3:**********************************************************************************************bzxeC9FTtHon0Vq+zEB0iKhM5OGvG",
"UserIp": "192.***.*.100",
"EventDetail": {
"Login": {
"UserInfo": {
"UserLevel": "golden",
"UserPoint": {
"Point": 10,
"PointType": "credit_point"
},
"UserType": "person"
},
"UserLoginName": "u_cuidq",
"LoginResult": {
"Status": "success"
}
}
},
"UserId": "u*******56",
"UserEmail": "u***********.com",
"UserPhone": "+86138********",
"Browser": {
"UserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36",
"AcceptLanguage": "zh-CN,zh;q=0.9,en;q=0.8",
"ContentLanguage": "zh-CN"
},
"App": {
"OS": "iOS",
"OSVersion": "16.0",
"DeviceManufacturer": "Apple",
"DeviceModel": "iPhone 14 Pro",
"DeviceId": "de*************23",
"AppName": "MyShoppingApp",
"AppVersion": "3.2.1",
"ClientLanguage": "zh-CN"
}
}
{
"Response": {
"RequestId": "374aefc2-99e7-40a1-b92c-9e08a3f3b742"
}
}
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 |
|---|---|
| InternalError.SystemException | System exception. |
| InvalidParameter | Invalid parameter. |
| InvalidParameter.FieldMissed | Field missed. |
| InvalidParameter.InvalidFormat | Invalid field format. |
| InvalidParameter.InvalidValue | Invalid field value. |
| InvalidParameter.LengthExceed | Field length exceeds the maximum limit. |
| InvalidParameterValue.DataUnauthorized | Data is unauthorized. Check the data authorization letter. |
| InvalidParameterValue.DuplicatedKey | Custom parameter keys cannot be duplicated. |
| InvalidParameterValue.EventNotExist | Event not exist. |
| InvalidParameterValue.InvalidEventTime | EventTime differs too much from the current system time |
| InvalidParameterValue.TenantNotExist | Tenant not exist. |
| MissingParameter | Missing parameter. |
| MissingParameter.FieldMissed | Missing required field. |
| UnauthorizedOperation | Unauthorized operation. |
피드백