---
title: "List all groups"
method: GET
path: "/api/groups"
tags: ["Groups"]
---

# List all groups

`GET /api/groups`

Retrieves a paginated list of all groups in the system. Requires admin authentication.

## Query parameters

- `ids` integer[], nullable
- `offset` integer, nullable
- `limit` integer, nullable

## Response `200`

Successful Response

- GroupsResponse
  - `groups` GroupResponse[], required
    - `name` string, required
    - `inbound_tags` string[], nullable
    - `is_disabled` boolean
    - `id` integer, required
    - `total_users` integer
  - `total` integer, required

## Other responses

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

---

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