English
cURL
curl --request GET \ --url 'https://app.teable.io/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 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
0
50
Get department users successfully
The response is of type object.
object