企业可通过下述接口,获取会话中外部成员的同意情况
单聊请求地址:https://qyapi.weixin.qq.com/cgi-bin/msgaudit/check_single_agree?access_token=ACCESS_TOKEN
请求方式:POST(HTTPS)
请求示例:
参数说明:
参数
必须
说明
access_token
调用接口凭证
info
待查询的会话信息,数组
userid
内部成员的userid
exteranalopenid
外部成员的exteranalopenid
此接口可以批量查询userid与externalopenid之间的会话同意情况。
备注说明:
目前一次请求只支持最多100个查询条目,超过此限制的请求会被拦截,请调用方减少单次请求的查询个数。
权限说明:
企业需要使用会话内容存档应用secret所获取的accesstoken来调用(accesstoken如何获取?);
返回结果:
返回字段说明:
字段名
说明
errcode
返回码
errmsg
对返回码的文本描述内容
agreeinfo
同意情况
agree_status
同意:"Agree",不同意:"Disagree"
status_change_time
同意状态改变的具体时间,utc时间
群聊请求地址:https://qyapi.weixin.qq.com/cgi-bin/msgaudit/check_room_agree?access_token=ACCESS_TOKEN
请求方式:POST(HTTPS)
请求示例:
参数说明:
参数
必须
说明
access_token
调用接口凭证
roomid
待查询的roomid
此接口可以查询对应roomid里面所有外企业的外部联系人的同意情况
权限说明:
企业需要使用会话内容存档应用secret所获取的accesstoken来调用(accesstoken如何获取?);
返回结果:
返回字段说明:
字段名
说明
errcode
返回码
errmsg
对返回码的文本描述内容
agreeinfo
同意情况
agree_status
同意:"Agree",不同意:"Disagree"
status_change_time
同意状态改变的具体时间,utc时间
exteranalopenid
群内外部联系人的externalopenid
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.