curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/user/simplelist?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"department_id":"LINKEDID/DEPARTMENTID","fetch_child":true}'
{"errcode":0,"errmsg":"ok","userlist": [{"userid":"zhangsan","name":"张三","department":["LINKEDID/1","LINKEDID/2"],"corpid":"xxxxxx"},{"userid":"lisi","name":"李四","department":["LINKEDID/1"],"corpid":"xxxxxx"}]}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通