guid,业务系统可通过 guid 区分消息所属账号或设备。cmd 与 msgType 解析,完整结构可查看 Webhook 推送服务说明。authType、authSecret 配置;authType 填 Authorization。设置后会验证回调 URL,接收端应在 3 秒内返回 HTTP 200。curl --location 'https://console.wecomapi.com/wecom/finder/api' \
--header 'WECOM-TOKEN: ' \
--header 'Content-Type: application/json' \
--data '{
"method": "/client/setCallback",
"params": {
"callbackUrl": "https://open.wechatapi.net/webhook/events",
"authType": "Authorization",
"authSecret": ""
}
}'{
"code": 0,
"msg": "成功"
}