> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/managers-hierarchy-tree-resource.md).

# Managers Hierarchy Tree Resource

## GET /api/v1/company/managers/tree

>

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"companyAPISessionId":[]}],"components":{"securitySchemes":{"companyAPISessionId":{"type":"apiKey","description":"SessionId","name":"SessionId","in":"header"}},"schemas":{"ManagersTreeDTO":{"type":"object","properties":{"rootNodes":{"type":"array","items":{"$ref":"#/components/schemas/ManagerTreeNodeDTO"}}}},"ManagerTreeNodeDTO":{"type":"object","properties":{"hierarchyId":{"type":"string"},"managerIds":{"type":"array","items":{"type":"string"},"uniqueItems":true}}}}},"paths":{"/api/v1/company/managers/tree":{"get":{"tags":["managers-hierarchy-tree-resource"],"operationId":"getManagersTree","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ManagersTreeDTO"}}}}}}}}}
```
