SDKAppID
of the app.https://www.example.com
.
Example:https://www.example.com?SdkAppid=$SDKAppID&CallbackCommand=$CallbackCommand&contenttype=json&ClientIP=$ClientIP&OptPlatform=$OptPlatform
Parameter | Description |
https | The request protocol is HTTPS, and the request method is POST. |
www.example.com | Webhook URL. |
SdkAppid | SDKAppID assigned by the Chat console when an app is created. |
CallbackCommand | Fixed as:OfficialAccount.CallbackAfterOfficialAccountFull. |
contenttype | Fixed value: JSON. |
ClientIP | Client IP, such as: 127.0.0.1. |
OptPlatform | Client Platform, for values please refer to Webhook Overview: Webhook Protocol for the meaning of the OptPlatform parameter. |
{"CallbackCommand": "OfficialAccount.CallbackAfterOfficialAccountFull", // Webhook command"Official_Account" : "@TOA#_test_OA_for_penn","EventTime": 1670574414123// Millisecond Level, Event Trigger Timestamp}
Object | Features | Feature |
CallbackCommand | String | Webhook command. |
Official_Account | String | User ID of the Official Account with the maximum number of subscribers. |
EventTime | Integer | Event trigger timestamp in milliseconds. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0 // Ignore response results}
Field | Type | Attribute | Description |
ActionStatus | String | Mandatory | Processed Request Result: OK: Indicates successful processing FAIL: Indicates failure |
ErrorCode | Integer | Mandatory | Error Code, 0 means response results can be ignored. |
ErrorInfo | String | Mandatory | Error message. |
Was this page helpful?