# Get list of departments for particular organizations **GET /api-v1/department/tree/{id}** ## Servers - https://wyzio.app: https://wyzio.app () ## Parameters ### Headers - **TARGET-ORGANIZATION-ID** (integer(int32)) ID of organization, for which the operation must be performed - **WEAL-TOKEN** (string) API token (can be retrieved from account settings) ### Path parameters - **id** (integer) id ## Responses ### 200 OK #### Body: */* (array[object]) - **children** (array[object]) - **id** (integer) - **isDeleted** (boolean) - **name** (string) - **parentId** (integer) - **position** (integer(int32)) ### 400 400 Bad Request ### 401 401 Unauthorized ### 403 403 Access Denied ### 404 404 Not Found ### 500 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)