- OpenAPI基本介绍
- 错误码参考 表
- 访问频率和并发限制
- 消息订阅
- 获取访问凭据
- 员工管理
- 自定义订单管理
- 客户管理
- 客户积分管理
- 客户标签管理
- 客户画像管理
- 标签库管理
- 群聊管理
- 工单管理
- 销售过程管理
- 聊天记录管理
- 拉新排行榜
- 群裂变
- 群打卡
- 企微任务宝
- 拉新排行榜
- 自定义表单
- 客户转化
- 员工个人群发记录管理
- 渠道码管理
- 素材库管理
- 互动雷达管理
- 自定义侧边栏身份校验
- 有赞订单管理
- 小鹅通订单管理
- 项目管理
- 门店信息
- 人群包
- 客户群发
- 企微朋友圈
- 个人SOP
- 部门管理
- 群标签管理
- 话术库
- 企微数据专区
获取群聊成员列表
GET
/open-api/group_chat/member/list
openapi
错误码 | 说明 |
---|---|
20206 | id 错误,找不到对应客户 |
20207 | unionid 错误,找不到对应客户 |
20208 | unionid 和 id 必须至少提供一个 |
调用此接口需购买基础席位。 |
请求参数
Query 参数
group_chat_id
string
企业群聊id
示例值:
wr8xjUCAAAb4IiVmBjWjHSwHTXxPa9-A
access_token
string
调用接口凭证
默认值:
{{access_token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.weibanzhushou.com/open-api/group_chat/member/list?group_chat_id=wr8xjUCAAAb4IiVmBjWjHSwHTXxPa9-A&access_token='
返回响应
🟢200成功
application/json
Body
errcode
integer
必需
errmsg
string
必需
member_list
array [object {14}]
客户列表
chat_msg_count
integer | null
消息数量
created_at
integer
必需
deleted
boolean
是否退群
deleted_time
integer | null
退群时间
group_id
string
客户群ID
id
integer
必需
join_scene
integer
必需
join_time
integer
群成员加入时间
other_name
string | null
必需
user_id
string
必需
user_type
integer
必需
invitor_ext_id
string | null
邀请人
last_chat_msg_time
integer | null
最近一次聊天的时间
unionid
string
客户unionid
total
integer
群成员总数
示例
{
"errcode": 0,
"errmsg": "ok",
"member_list": [
{
"chat_msg_count": null,
"created_at": 1582013715,
"deleted": false,
"deleted_time": null,
"group_id": "wr8xjUCAAAb4IiVmBjWjHSwHTXxPa9-A",
"id": 2,
"invitor_ext_id": "PanPan",
"join_scene": 1,
"join_time": 1581577730,
"last_chat_msg_time": null,
"unionid": null,
"user_id": "PanPan",
"user_type": 1
},
{
"chat_msg_count": null,
"created_at": 1582013715,
"deleted": false,
"deleted_time": null,
"group_id": "wr8xjUCAAAb4IiVmBjWjHSwHTXxPa9-A",
"id": 3,
"invitor_ext_id": "Shiyan",
"join_scene": 3,
"join_time": 1581580191,
"last_chat_msg_time": null,
"unionid": "omefmt_T_WQs_h4QolC1RQ4udWG4",
"user_id": "wm8xjUCAAAu4nT-CRhEFbNNGfY-N6tLw",
"user_type": 2
}
],
"total": 2
}
🟢200正常返回
修改于 2024-07-31 05:32:45