GET
/
organization
/
{organizationId}
/
department-user
curl --request GET \
  --url 'https://app.teable.cn/api/organization/%7BorganizationId%7D/department-user?departmentId=SOME_STRING_VALUE&includeChildrenDepartment=SOME_STRING_VALUE&skip=0&take=50&search=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_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
take

Response

200 - application/json
Get department users successfully
users
object[]
required
total
number
required