https://www.example.com
Example:https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&OptPlatform=$OptPlatform&contenttype=json
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Callback URL |
SdkAppid | SDKAppID allocated by the Chat console at the time of application creation |
CallbackCommand | Fixed as Alert.RequestOverLimit |
contenttype | Fixed value: JSON |
OptPlatform | Client platform. For values, see Webhook Overview - Webhook Protocol for the meaning of the OptPlatform parameter. |
{ "CallbackCommand": "Alert.RequestOverLimit", "ServiceName": "openim", "Command": "batchsendmsg", "Request": 510, "Limit": 200 }
Field | Type | Description |
CallbackCommand | String | Fixed as Alert.RequestOverLimit |
ServiceName | String | Internal service name of API. Different ServiceNames correspond to different service types. |
Command | String | API command word, combined with ServiceName to identify specific business features. |
Request | Integer | API request QPS rate |
Limit | Integer | API request QPS threshold |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0}
Field | Type | Description |
ActionStatus | String | Request processing result: OK indicates successful processing. FAIL indicates failed processing. |
ErrorCode | Integer | Error code |
ErrorInfo | String | Error description |
Was this page helpful?