搜索话题内的成员
使用限制
调用接口的机器人需要在话题内,才可以获取话题内成员的信息
接口地址
域名:https://open.mindoffice.cn
uri : /open-platform/api/robot/group/members
请求地址
https://open.mindoffice.cn/open-platform/api/robot/group/members请求方式
GET
请求Header
app-id 系统分配
app-secret 系统分配
x-request-id 请求id
请求Query参数
| 字段 | 类型 | 必须 | 描述 | 默认 | 示例值 |
|---|---|---|---|---|---|
| group_id | string | 是 | 群组id | 无 | 100001141t0 |
| user_name | string | 是 | 用户昵称,支持模糊搜索 | 无 | 如易 |
返回参数
| 字段 | 类型 | 必须 | 描述 | 默认 | 示例值 |
|---|---|---|---|---|---|
| code | string | 是 | 状态码 | 200 | 200:成功 非200:失败 |
| msg | string | 是 | 提示 | ||
| data | object | 是 |
data参数
| 字段 | 类型 | 必须 | 描述 | 默认 | 示例值 | |
|---|---|---|---|---|---|---|
| items | array | 是 | 无 | [] | ||
| user_name | string | 是 | 用户名 | 无 | 如易 | |
| team_user_id | string | 是 | 用户id(加密的用户id或者真实的用户id)-设置返回team_user_id 时,则为真实的用户id | 无 | xxx | |
| robot_team_user_id | string | 是 | 用户id(加密的用户id) | 无 | xxx | |
| team_code | string | 是 | 用户团队 | 无 | zzzzzff | |
| join_time | int | 是 | 入群时间(毫秒时间戳) | 无 | 1733388348000 | |
| group_id | string | 是 | 群组id | 无 | 100001141t0 | |
{
"code": 200,
"msg": "OK",
"data": {
"items": [
{
"user_name": "如易",
"team_user_id": "xxxxxxxxx",
"team_code": "zzzzzzff",
"join_time": 1733388348000,
"group_id": "xxxxxxx"
}
]
}
}
Curl 格式
curl 'https://open.mindoffice.cn/open-platform/api/robot/group/members?group_id=100001141t0&user_name=%E5%A6%82%E6%98%93' \
-H 'app-id: robot_peozr1m9cq3mox8p' \
-H 'app-secret: d7406Ujny3zVON47ZbAAxcSdOgCS3Ziw'
更新时间:2026-03-26