获取客户朋友圈全部的发表记录-获取企业全部的发表列表
POST
/cgi-bin/externalcontact/get_moment_list
服务端API第三方应用开发企业内部开发
补充说明:
web管理端会展示企业成员所有已经发表的朋友圈(包括已经删除朋友圈),而API接口将不会返回已经删除的朋友圈记录
自建应用调用,只会返回应用可见范围内用户的发送情况。
第三方应用调用需要企业授权客户朋友圈下获取企业全部的发表记录的权限
原文档地址:
https://open.work.weixin.qq.com/api/doc/90001/90143/93443
https://open.work.weixin.qq.com/api/doc/90000/90135/93333
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_list?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"start_time":1605000000,"end_time":1605172726,"creator":"zhangsan","filter_type":1,"cursor":"CURSOR","limit":10}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "CURSOR",
"moment_list": [
{
"moment_id": "momxxx",
"creator": "xxxx",
"create_time": 1605000000,
"create_type": 1,
"visible_type": 1,
"text": {
"content": "test"
},
"image": [
{
"media_id": "WWCISP_xxxxx"
}
],
"video": {
"media_id": "WWCISP_xxxxx",
"thumb_media_id": "WWCISP_xxxxx"
},
"link": {
"title": "腾讯网-QQ.COM",
"url": "https://www.qq.com"
},
"location": {
"latitude": "23.10647",
"longitude": "113.32446",
"name": "广州市 · 广州塔"
}
}
]
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-12-01 08:26:36