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.CallbackAfterDeleteSubscriber. |
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.CallbackAfterDeleteSubscriber", // Webhook command"Official_Account" : "@TOA#_test_OA_for_penn","Operator_Account": "leckie", // Operator"SubscribeAccountList": [{"Subscriber_Account": "jared"},{"Subscriber_Account": "leckie"}],"EventTime": 1670574414123// Event trigger timestamp in milliseconds}
Object | Features | Feature |
CallbackCommand | String | Webhook command. |
Official_Account | String | Official Account User ID who unsubscribed. |
Operator_Account | String | Operator UserID who initiated the request. |
SubscribeAccountList | Array | List of users who unsubscribed. |
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?