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 allocated by the Instant Messaging console at the time of Application creation |
CallbackCommand | Set to: OfficialAccount.CallbackAfterOfficialAccountInfoChanged |
contenttype | Fixed value: JSON |
ClientIP | Client IP, such as 127.0.0.1 |
OptPlatform | Client platform, for values refer to webhook introduction: Webhook protocol with regards to the parameter meanings of OptPlatform |
{"CallbackCommand": "OfficialAccount.CallbackAfterOfficialAccountInfoChanged", // Callback command"Official_Account" : "@TOA#_test_OA_for_penn","Operator_Account": "leckie", // Operator"Introduction": "NewNotification", // Updated official account introduction"Name": "NewName", // Updated official account name"FaceUrl": "http://this.is.newface.url" // Updated official account profile photo"Organization": "NewOrganization" // Updated official account organization"EventTime": 1670574414123// Event trigger timestamp in milliseconds}
Object | Features | Feature |
CallbackCommand | String | Webhook command |
Operator_Account | String | Initiator's UserID |
Official_Account | String | Created Official Account ID |
Introduction | String | Updated official account introduction |
Name | String | Updated Official Account Name |
FaceUrl | String | Updated Official Account Avatar |
Organization | String | Updated Official Account Affiliated Organization |
EventTime | Integer | Event trigger timestamp in milliseconds |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0}
Field | Type | Attribute | Description |
ActionStatus | String | Mandatory | Results of the request processing OK: Indicates successful processing FAIL: Indicates failure |
ErrorCode | Integer | Mandatory | Error Code, entering 0 here means to ignore the response result |
ErrorInfo | String | Mandatory | Error message |
Was this page helpful?