应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 是 | 开发者后台申请权限:维护通讯录的接口访问权限![]() | 调试 |
第三方企业应用 | 否 | — | — |
第三方个人应用 | 否 | — | — |
curl --location --request POST 'https://oapi.dingtalk.com/topapi/v2/user/create?access_token' \
--header 'Content-Type: application/json' \
--data-raw '{
"exclusive_account_type":"sso",
"extension":"{\"爱好\":\"旅游\",\"年龄\":\"24\"}",
"exclusive_account":"true",
"manager_userid":"001",
"remark":"备注信息",
"hired_date":"1650351000000",
"title":"技术总监",
"org_email_type":"base",
"userid":"12345678",
"work_place":"北京",
"dept_order_list":"[{\"dept_id\":486882146,\"order\":2},{\"dept_id\":609916162,\"order\":1}]",
"senior_mode":"false",
"nickname":"小钉1",
"dept_id_list":"486882146,609916162",
"job_number":"123",
"email":"test@xxx.com",
"telephone":"123",
"hide_mobile":"true",
"avatarMediaId":"@lADPDfYH3A-xxx",
"dept_title_list":"[{\"dept_id\":486882146,\"title\":"测试"},{\"dept_id\":609916162,\"title\":"总监"}]",
"org_email":"ceshi1",
"name":"sso企业账号",
"exclusive_mobile":"150xxxx"
}'
{
"errcode": "string",
"result": {
"unionId": "string",
"userid": "string"
},
"errmsg": "string"
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通