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: */*
[
  {
    "id": {
      "timestamp": 1,
      "date": "2025-06-27T11:17:46.630Z"
    },
    "name": "text",
    "children": [
      {
        "id": {
          "timestamp": 1,
          "date": "2025-06-27T11:17:46.630Z"
        },
        "name": "text",
        "children": [
          {
            "id": {
              "timestamp": 1,
              "date": "2025-06-27T11:17:46.630Z"
            },
            "name": "text",
            "children": "[Circular Reference]"
          }
        ]
      }
    ]
  }
]

Last updated

Was this helpful?