Skip to main content
Call this API to create a new user.

API call description

This API supports creating either a regular user or an Enterprise Account user. Because parameter usage differs significantly between the two scenarios, the documentation is split by account type for clarity:

Request

Query parameters

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error occurs when calling this API, refer to the Global error codes document for solutions based on the error message.

About the extension parameter

To display the user attributes configured in the extension field, complete the following steps.
  1. Sign in to the DingTalk Admin Console.
  2. Click Internal Contacts Settings, then click Member Field Management > Add Custom Field.