使用限制

需要在后台进行数据权限订阅-获取机器人订阅用户列表

接口地址

域名:https://open.mindoffice.cn
uri : /open-platform/api/robot/user/open_ids

请求地址

https://open.mindoffice.cn/open-platform/api/robot/user/open_ids

请求方式

POST+JSON

请求Header

app-id 系统分配
app-secret 系统分配
x-request-id 请求id

请求Body参数

  • 都不传时获取全量订阅用户

字段类型必须描述默认示例值
name[]string用户名
phone[]string手机号
mail[]string邮箱
open_id[]stringopen_id
team_user_id[]stringteam_user_id
robot_team_user_id[]string加密的用户id

返回参数

 

字段类型必须描述默认示例值
codestring状态码200200:成功
非200:失败
msgstring提示  
dataobject

 

data参数


字段 类型 必须 描述 默认 示例值
records array []
name string 用户名 如易
phone string 手机号 xxx
open_id string 订阅用户的open_id zzzzzff

 

{
    "code": 200,
    "msg": "OK",
    "data": {
        "records": [
            {
                "name": "如易",
                "phone": "xxxxxxxxx",
                "open_id": "zzzzzzff"
            }
        ]
    }
}

Curl 格式

curl -X POST --location "https://open.mindoffice.cn/open-platform/api/robot/user/open_ids" \
    -H "Content-Type: application/json" \
    -H "APP-ID: robot_f7rsbv1o253g2j3g" \
    -H "APP-Secret: lJ8f6pn5vCe8jjEQFBVPPmL6SW8QmV8d" \
    -H "X-Request-ID: 1" \
    -d "{
          \"name\": [\"如易\",\"豆子\"]
        }"
 更新时间:2026-03-26