curl --location --request POST 'https://oapi.dingtalk.com/topapi/v2/user/getuserinfo?access_token=6ed1bxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"code":"bab02f63c1e030fbbxxxx"
}'{
"errcode": 0,
"result": {
"associated_unionid": "N2o5U3axxxx",
"unionid": "gliiW0piiii02zBUjUxxxx",
"device_id": "12drtfxxxxx",
"sys_level": 1,
"name": "张xx",
"sys": true,
"userid": "userid123"
},
"errmsg": "ok"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通

扫码加入交流群