| request_id | String | 4e7exhl6pm0t | The request ID. |
| errcode | Number | 0 | The return code. |
| errmsg | String | ok | The description of the return code. |
| result | Object | | The returned result. |
| userid | String | zhangsan | The user ID of the employee. |
| unionid | String | z21HjQliSzpw0YWCNxmii6u2Os62cZ62iSZ | The unique identifier of the employee within the current developer’s Enterprise Account scope. |
| name | String | John | The employee name. |
| avatar | String | xxx | The profile photo. Note - This field is not returned if the employee uses the default profile photo. - This field is returned if the employee has manually set a profile photo. |
| state_code | String | 86 | The international dialing code. Note This field is not returned for third-party enterprise apps. To obtain state_code, use the DingTalk unified authorization suite. |
| mobile | String | 13800138000 | The mobile number. Note - If an internal app does not receive this field, check whether the Mobile number information of employees permission is enabled in the Contacts permissions of the current app. - This field is not returned for third-party enterprise apps. To obtain mobile, use the DingTalk unified authorization suite. |
| hide_mobile | Boolean | false | Whether the mobile number is hidden: - true: hidden - false: not hidden Note After the mobile number is hidden, it is hidden on the Profile page, but you can still send DING messages and initiate DingTalk business calls to the user. |
| telephone | String | 010-86123456-2345 | The extension number. Note This field is not returned for third-party enterprise apps. |
| job_number | String | 4 | The employee ID. |
| title | String | Technical Director | The job title. |
| email | String | test@xxx.com | The employee mail. Note - If an internal app does not receive this field, check whether the Email and other profile information permission is enabled in the Contacts permissions of the current app. - This field is not returned for third-party enterprise apps. To obtain email, use the DingTalk unified authorization suite. |
| org_email | String | test@xxx.com | The Enterprise Mail of the employee. This data is not included in the response if the employee’s Enterprise Mail is not activated. Note This field is not returned for third-party enterprise apps. |
| work_place | String | Future Park | The work location. Note - If an internal app does not receive this field, check whether the Email and other profile information permission is enabled in the Contacts permissions of the current app. - This field is returned only when there is a value in this field on the employee information panel. - This field is not returned for third-party enterprise apps. |
| remark | String | Remark | The alias. Note - If an internal app does not receive this field, check whether the Email and other profile information permission is enabled in the Contacts permissions of the current app. - This field is returned only when there is a value in this field on the employee information panel. - This field is not returned for third-party enterprise apps. |
| dept_id_list | Number[] | [2,3,4] | The list of department IDs the employee belongs to. |
| dept_order_list | Object[] | | The sort order of the employee in each department. |
| dept_id | Number | 2 | The department ID. |
| order | Number | 1 | The sort order of the employee in the department. |
| extension | String | {"Hobby":"Travel","Age":"24"} | The extended attributes. The maximum length is 2,000 characters. Note - If an internal app does not receive this field, check whether the Email and other profile information permission is enabled in the Contacts permissions of the current app. - This field is returned only when the extended fields added on the employee information panel contain values. - This field is not returned for third-party enterprise apps. |
| hired_date | Number | 1597573616828 | The hire date, as a Unix timestamp in milliseconds. Note - This field is not returned for third-party enterprise apps. - This field is returned only when the Hire date field on the information panel has a value. |
| active | Boolean | true | Whether DingTalk has been activated: - true: activated - false: not activated |
| real_authed | Boolean | true | Whether real-name authentication has been completed: - true: authenticated - false: not authenticated |
| senior | Boolean | true | Whether the user is a senior executive of the organization: - true: yes - false: no |
| admin | Boolean | true | Whether the user is an admin of the organization: - true: yes - false: no |
| boss | Boolean | true | Whether the user is the boss of the organization: - true: yes - false: no |
| leader_in_dept | Object[] | | The information about the departments the employee belongs to and whether the employee is a leader in each: - The department ID of the department the employee belongs to. - Whether the employee is a leader in the corresponding department: - true: yes - false: no |
| dept_id | Number | 2 | The department ID. |
| leader | Boolean | true | Whether the user is a leader: - true: yes - false: no |
| role_list | Object[] | | The role list. |
| id | Number | 100 | The role ID. |
| name | String | Director | The role name. |
| group_name | String | Position | The role group name. |
| exclusive_account | Boolean | true | Whether the user is an Enterprise Account: - true: yes - false: no |
| union_emp_ext | Object | | The association information when the user is from an associated organization. Note This field is returned when the user’s organization has associated organizations. |
| userid | String | 500 | The user ID of the employee. |
| union_emp_map_list | Object[] | | The association mapping. |
| userid | String | 5000 | The user ID of the employee in the associated branch organization. |
| corp_id | String | dingxxx | The corp ID of the associated branch organization. |
| corp_id | String | dingxxx | The corp ID of the organization the current user belongs to. |
| exclusive_account_type | String | dingtalk | The Enterprise Account type: - sso: self-built Enterprise Account of the organization - dingtalk: DingTalk-built Enterprise Account Note This field is returned only for Enterprise Accounts. |
| login_id | String | login_id3 | The sign-in name of the DingTalk-built Enterprise Account. Note This field is returned only for DingTalk Enterprise Accounts belonging to your organization. |
| manager_userid | String | manager240 | The employee’s direct manager. Note This field is returned only when the Direct manager field on the employee profile panel in the organization’s admin console has a value. |
| org_email_type | String | profession | The Enterprise Mail type of the employee: - profession: Standard - base: Basic |
| nickname | String | Name | The employee name. Note This field is returned only for DingTalk Enterprise Accounts belonging to your organization. |
| exclusive_account_corp_name | String | Organization name | The name of the organization to which the Enterprise Account belongs. Note This applies only to Enterprise Accounts and returns the organization that created the Enterprise Account. |
| exclusive_account_corp_id | String | dingxxx | The corp ID of the organization to which the Enterprise Account belongs. Note This applies only to Enterprise Accounts and returns the organization that created the Enterprise Account. |
| disable_status | Boolean | false | The disabled status of the Enterprise Account in your organization: - true: disabled - false: enabled Note This field is returned only for DingTalk Enterprise Accounts belonging to your organization. |