---
title: "Retrieve org hierarchy details"
method: GET
path: "/hierarchy"
---

# Retrieve org hierarchy details

`GET /hierarchy`

API to retrieve hierarchy details of an org.

## Query parameters

- `fetchSiblings` boolean

## Response `200`

200

- object
  - `organization` object
    - `id` integer
    - `name` string
    - `phone` string
    - `address` string
    - `language` string
    - `languageCode` string
    - `languageLocale` string
    - `parentId` integer
    - `locality` string
    - `pinCode` string
    - `currency` string
    - `timezoneLabel` string
    - `timezoneOffset` string
    - `minSmsHour` integer
    - `maxSmsHour` integer
    - `logo` string
    - `webSite` string
    - `country` string
    - `countryCode` string
    - `active` boolean
    - `orgType` string
  - `parentOrganizations` unknown[]
    - unknown
  - `childOrganizations` unknown[]
    - unknown
  - `siblingOrganizations` unknown[]
    - unknown
  - `warnings` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
