Hierarchy
Operations related to Areas (Hierarchies)
Retrieves all the areas metadata and configuration available for your company in a hirarchical way
get
The information provided by this endpoint is useful to build the filters on the stats API or setup the employee profiles on the Employees API.
Authorizations
Responses
200
OK
*/*
get
GET /v1/public/company/hierarchy HTTP/1.1
Host: api.happyforce.com
happyforceAPIKey: YOUR_API_KEY
Accept: */*
200
OK
[
{
"id": {
"timestamp": 1,
"date": "2025-07-30T18:58:43.225Z"
},
"name": "text",
"children": [
{
"id": {
"timestamp": 1,
"date": "2025-07-30T18:58:43.225Z"
},
"name": "text",
"children": [
{
"id": {
"timestamp": 1,
"date": "2025-07-30T18:58:43.225Z"
},
"name": "text",
"children": "[Circular Reference]"
}
]
}
]
}
]
Last updated
Was this helpful?