Skip to main content

Get the user ID list of a department

API call description

  • This API is not restricted by the Contacts permission scope.
  • Getting the user IDs of all employees in your organization at once is not supported. To get the user IDs of all employees in your organization, use the following method:
    • Call the Get department list API and traverse level by level to get all department IDs within the authorized scope.
    • Call the API described in this document to get the user IDs of employees in each department.

Request

Query parameter

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response example

Error codes

If an error occurs when you call this API, refer to the Global error codes document to find a solution based on the error message.