curl --location -g --request GET 'https://qyapi.weixin.qq.com/cgi-bin/department/list?access_token=&id={{id}}'
{"errcode":0,"errmsg":"ok","department":[{"id":2,"name":"广州研发中心","name_en":"RDGZ","parentid":1,"order":10},{"id":3,"name":"邮箱产品部","name_en":"mail","parentid":2,"order":40}]}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通