Skip to main content
GET
/
organization
/
{organizationId}
/
department-user
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/organization/{organizationId}/department-user \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "avatar": "<string>",
      "departments": [
        {
          "id": "<string>",
          "name": "<string>",
          "path": [
            "<string>"
          ],
          "pathName": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Query Parameters

departmentId
string
includeChildrenDepartment
string
skip
Example:

0

take
Example:

50

Response

200 - application/json

Get department users successfully

users
object[]
required
total
number
required
Last modified on December 10, 2025