获取成员ID列表
GET
https://qyapi.weixin.qq.com/cgi-bin/user/list_id
适配建议:
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '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": [
{
"userid": "zhangsan",
"department": 1
},
{
"userid": "zhangsan",
"department": 2
},
{
"userid": "lisi",
"department": 2
}
]
}
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
ACCESS_TOKEN
Body 参数application/json
返回响应
修改于 2022-11-30 09:02:54