---
title: "GET /api/groups"
method: GET
path: "/api/groups"
tags: ["group"]
---

# GET /api/groups

`GET /api/groups`

Get the list of groups

## Query parameters

- `current` integer, required
- `pageSize` integer, required

## Response `200`

- GroupsResponse
  - `msg` string, required
  - `total` integer, required
  - `data` Group[], required
    - `guid` string, required
    - `name` string, required
    - `team` string, required
    - `created_at` string, required
    - `access_to` string[], required
    - `accessed_from` string[], required
    - `note` string, nullable
    - `info` string, required

## Other responses

- `404`

## Changes

- **2024-05-21** `1b51dd9ab58f` — 1 breaking, 2 info
  - the `data` response's property type changed from `string` to `array` for status `200`
  - api tag `group` added
  - api tag `todo` removed
- **2024-05-19** `fafd43b82c78` — 1 breaking, 2 info
  - the `data` response's property type changed from `array` to `string` for status `200`
  - api tag `todo` added
  - api tag `group` removed

[Change history](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/changes/api/groups/get.md)

---

[API](https://skmtc.dev/nesaku/apis/sctgdesk-api-server.md) · [All operations](https://skmtc.dev/nesaku/apis/sctgdesk-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nesaku/sctgdesk-api-server/revisions/71c0d469fb17/schema)
