Skip to main content
Call this API to get the details of users in a specified department.

API call description

  • This API only returns the details of users in the specified department. Users in sub-departments are not returned.
  • This API can return the details of either regular-account users or Enterprise Account users in a department. Because the parameter usage differs significantly between the two scenarios, the documentation is split by account type for clarity:

Request

Query parameter

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error is returned when you call this API, find the solution in Global error codes based on the error message.