- 开发指南
- 基础
- 应用授权
- 接口调用许可
- 收银台
- 推广二维码
- 账号ID
- 通讯录管理
- 概述
- 通讯录展示组件
- 第三方通讯录编辑授权
- 成员管理
- 部门管理
- 标签管理
- 异步批量接口
- 异步导出接口
- 通讯录回调通知
- 通讯录搜索
- 通讯录ID转译
- 通讯录userid排序POST
- 身份验证
- 企业互联
- 上下游
- 消息推送
- 应用管理
- 素材管理
- 电子发票
- 连接微信
- 办公
- 智慧硬件
获取成员ID列表
POST
https://qyapi.weixin.qq.com/cgi-bin/user/list_id
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/user/list_id' \
--header 'Content-Type: application/json' \
--data-raw '{
"cursor": "xxxxxxx",
"limit": 10000
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "aaaaaaaaa",
"dept_user": [
{
"open_userid": "woAAAAAAAA",
"department": 1
},
{
"open_userid": "woAAAAAAAA",
"department": 2
},
{
"open_userid": "woBBBBBBBB",
"department": 2
}
]
}
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
ACCESS_TOKEN
Body 参数application/json
cursor
string
可选
limit
integer
可选
示例
返回响应
🟢200成功
application/json
Body
errcode
integer
返回码
errmsg
string
必需
next_cursor
string
必需
dept_user
array [object {2}]
用户-部门关系列表
open_userid
string
必需
department
integer
用户所属部门

【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通

