获取「群聊数据统计」数据-按群主聚合的方式
POST
/cgi-bin/externalcontact/groupchat/statistic
服务端API企业内部开发第三方应用开发
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/statistic?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"day_begin_time": 1600272000,
"day_end_time": 1600444800,
"owner_filter": {
"userid_list": ["zhangsan"]
},
"order_by": 2,
"order_asc": 0,
"offset" : 0,
"limit" : 1000
}'
响应示例响应示例
{
"errcode": 0,
"total": 0,
"errmsg": "string",
"next_offset": 0,
"items": [
{
"owner": "string",
"data": {
"chat_has_msg": 0,
"member_has_msg": 0,
"chat_total": 0,
"new_member_cnt": 0,
"msg_total": 0,
"member_total": 0,
"new_chat_cnt": 0,
"migrate_trainee_chat_cnt": 0
}
}
]
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:48