Happyforce API
  • Welcome
  • Before You Start
  • Data Segmentation in Happyforce
  • API reference
    • Hierarchy
    • Characteristics
    • Groups
    • Scores Metadata
    • Employees
      • Reset
      • Invite
    • Stats
      • Hi
      • Enps
      • Scores
      • Activation
      • Participation
  • Specification
Powered by GitBook
On this page

Was this helpful?

  1. API reference

Hierarchy

Operations related to Areas (Hierarchies)

PreviousAPI referenceNextCharacteristics

Last updated 4 months ago

Was this helpful?

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
*/*
400
Bad Request
*/*
get
GET /api/v1/public/company/hierarchy HTTP/1.1
Host: api.myhappyforce.com
happyforceAPIKey: YOUR_API_KEY
Accept: */*
[
  {
    "id": "text",
    "name": "text",
    "children": [
      {
        "id": "text",
        "name": "text",
        "children": [
          {
            "id": "text",
            "name": "text",
            "children": "[Circular Reference]"
          }
        ]
      }
    ]
  }
]