---
title: "Get lightweight group list"
method: GET
path: "/api/groups/simple"
tags: ["Groups"]
---

# Get lightweight group list

`GET /api/groups/simple`

Returns only id and name for groups. Optimized for dropdowns and autocomplete.

## Query parameters

- `ids` integer[], nullable
- `offset` integer, nullable
- `limit` integer, nullable
- `search` string, nullable
- `sort` string, nullable
- `all` boolean

## Response `200`

Successful Response

- GroupsSimpleResponse — Response model for lightweight group list.
  - `groups` GroupSimple[], required
    - `id` integer, required
    - `name` string, required
  - `total` integer, required

## Other responses

- `401` — Unauthorized Error
- `403` — Forbidden Error
- `422` — Validation Error

---

[API](https://skmtc.dev/ha-man2/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/ha-man2/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ha-man2/pasarguardapi/revisions/84d9ff88fcda/schema)
