curl --location --request POST 'https://oapi.dingtalk.com/topapi/industry/user/list?access_token=bE74xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"dept_id": 1,
"cursor": 1,
"size": 10
}'
{
"result": {
"has_more": false,
"details": [
{
"userid": "user02",
"unionid": "gliizBUjUxxxx",
"roles": [],
"feature": "{}",
"name": "张xx"
},
{
"userid": "user01",
"dept_id": 4242006,
"roles": [
{
"id": 149507744,
"name": "村民"
},
{
"id": 149507745,
"name": "学生"
},
{
"id": 149507746,
"name": "主管理员"
}
],
"feature": "{}",
"name": "李xx"
}
]
},
"errcode": 0,
"errmsg": "ok",
"request_id": "7afehfo9w76t"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通