| userid | String | No | zhangsan | The unique identifier of the employee (cannot be modified), 1 to 64 characters in length. Note - Must be unique within your organization. - If not specified, a userId is generated automatically. |
| exclusive_account | Boolean | Yes | true | Must be set to true, indicating that an enterprise account is to be created. Note Applies only to enterprise accounts. |
| exclusive_account_type | String | Yes | dingtalk | Must be set to dingtalk, indicating a DingTalk-built enterprise account. Note Applies only to DingTalk-built enterprise accounts. |
| login_id | String | Yes | login_id3 | The login name of the DingTalk-built enterprise account. Note Do not include information such as phone numbers or email links to avoid sign-up SMS messages being blocked by carriers. |
| init_password | String | Yes | init_password220 | The initial password of the DingTalk-built enterprise account. The initial password must contain at least 8 characters. Note - The password cannot consist entirely of letters or digits. - Do not include information such as phone numbers, emails, or links to avoid sign-up SMS messages being blocked by carriers. |
| send_password_to_user | Boolean | No | false | Whether to send the account credentials. Default value: false. - false: Do not send. - true: Send. Note - When sending, an SMS message is sent to the employee’s phone number or an email is sent to the personal email address. - When this parameter is set to true, the init_password parameter is required; otherwise, no message is sent. |
| name | String | Yes | Zhang San | The employee name, with a maximum length of 80 characters. |
| dept_id_list | String | Yes | ”2,3,4” | The list of department IDs the employee belongs to. Separate multiple department IDs with commas (,). A maximum of 100 department IDs can be passed per call. |
| telephone | String | No | 010-86123456-2345 | The extension number, with a maximum length of 50 characters. Note The extension number must be unique within your organization. |
| job_number | String | No | 4 | The Employee ID, with a maximum length of 50 characters. |
| title | String | No | Technical Director | The Job Title, with a maximum length of 200 characters. |
| email | String | No | test@xxx.com | The employee’s personal email, with a maximum length of 50 characters. Note The employee’s email must be unique within your organization. |
| org_email | String | No | test@xxx.com | The employee’s Enterprise Mail, with a maximum length of 100 characters. Note This field takes effect only when the employee has enabled Enterprise Mail. |
| org_email_type | String | No | profession | The type of the employee’s Enterprise Mail: - profession: Standard edition. - base: Basic edition. |
| work_place | String | No | Future Park | The Work Location, with a maximum length of 100 characters. |
| remark | String | No | Alias information | The Alias, with a maximum length of 2,000 characters. |
| dept_order_list | Object[] | No | | The sort order of the employee within each department. |
| dept_id | Number | No | 2 | The department ID. |
| order | Number | No | 1 | The sort order of the employee within the department. A larger value indicates a higher position. |
| dept_title_list | Object[] | No | | The Job Title of the employee within each department. |
| dept_id | Number | No | 2 | The department ID. |
| title | String | No | Senior Product Manager | The Job Title of the employee within the department. |
| extension | String | No | {"Hobby":"Travel","Age":"24"} | Extended attributes. Multiple attributes can be set, with a maximum length of 2,000 characters. Note - A maximum of 10 extended attributes can be displayed on mobile. - Before using this parameter, add the attribute in the DingTalk admin console first, and then call the API to assign a value. - The value of this field supports link types. Links support variable wildcards that are automatically replaced. Currently supported wildcards are userid and corpid. Example: {"Hobby":"[Hobby](http://www.dingtalk.io?userid=#userid#&corpid=#corpid#)"}. |
| senior_mode | Boolean | No | false | Whether to enable executive mode. Default value: false. - true: Enable. Note - When enabled, the phone number is hidden from all employees. - Regular employees cannot send DINGs or initiate DingTalk business calls to executives. - Executives can send DINGs and initiate DingTalk business calls to each other. - false: Do not enable. |
| hired_date | Number | No | 1597573616828 | The hire date, in Unix timestamp format (in milliseconds). |
| manager_userid | String | No | 001 | The userId of the direct manager. |
| exclusive_mobile | String | No | +86-13412341234 | The phone number of the enterprise account. Note Applies only to enterprise accounts. |
| avatarMediaId | String | No | @lALPDfmVUw19YdrNA-jNA-g | When creating an enterprise account for your organization, you can specify the Profile Photo MediaId. Only jpg and png formats are supported. Obtain it by calling the Upload media file API. Note Applies only to enterprise accounts. |
| nickname | String | No | Name | When creating an enterprise account for your organization, you can specify the Name. Note Applies only to enterprise accounts. |