> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Hris Org Chart

> The org chart: active people with their manager, job title, department and country, for the People page's Org chart view and the employee Org chart page. A client admin gets their People data scope (a TEAM-scoped admin only their people); employees, only while the org chart employee switch is on, get the people who have started across the organization. At most 5,000 people: truncated is true when there are more, and a person whose manager was cut off carries managerHidden.

Required scope: `people:read`

## OpenAPI

````yaml api-reference/openapi.json GET /hris/get-hris-org-chart
openapi: 3.1.0
info:
  title: Toku API
  version: 1.0.0
servers:
  - url: https://api.toku.com
security:
  - bearerAuth: []
paths:
  /hris/get-hris-org-chart:
    get:
      operationId: getHrisOrgChart
      summary: Get Hris Org Chart
      x-toku-required-scope: people:read
      description: >-
        The org chart: active people with their manager, job title, department
        and country, for the People page's Org chart view and the employee Org
        chart page. A client admin gets their People data scope (a TEAM-scoped
        admin only their people); employees, only while the org chart employee
        switch is on, get the people who have started across the organization.
        At most 5,000 people: truncated is true when there are more, and a
        person whose manager was cut off carries managerHidden.


        Required scope: `people:read`
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetHrisOrgChartResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Response 429
components:
  schemas:
    GetHrisOrgChartResponse:
      type: object
      properties:
        rows:
          type: array
          items:
            type: object
            properties:
              roleInOrgID:
                type: string
              name:
                type: string
              jobTitle:
                type:
                  - string
                  - 'null'
              department:
                type:
                  - string
                  - 'null'
              country:
                type:
                  - string
                  - 'null'
              managerRoleInOrgID:
                type:
                  - string
                  - 'null'
              managerHidden:
                const: true
              personType:
                type:
                  - string
                  - 'null'
                enum:
                  - EMPLOYEE
                  - CONTRACTOR
                  - ADMIN
                  - null
            required:
              - roleInOrgID
              - name
              - jobTitle
              - department
              - country
              - managerRoleInOrgID
              - personType
        truncated:
          type: boolean
        viewerRoleInOrgID:
          type:
            - string
            - 'null'
      required:
        - rows
        - truncated
        - viewerRoleInOrgID
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
````
