---
title: "Get All Groups in Card Hierarchy"
method: GET
path: "/v1/card-hierarchies/{cardHierarchyId}/groups"
tags: ["Card Hierarchy Group Management"]
---

# Get All Groups in Card Hierarchy

`GET /v1/card-hierarchies/{cardHierarchyId}/groups`

This operation retrieves all groups within a specified card hierarchy, optionally filtering by card ID.

## Path parameters

- `cardHierarchyId` string, biginteger, required

## Query parameters

- `cardId` string, biginteger
- `auditUser` string, required

## Response `200`

Successful retrieval of the card hierarchy groups

- CardHierarchyGroupV1[]
  - `id` string, biginteger, required — Generated id of the group
  - `name` string, required — Name of the group
  - `parentId` string, biginteger — Id of the parent group
  - `type` 'ROOT' | 'INTERMEDIATE' | 'CARD', required — Type of the group

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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