---
title: "List groups"
method: GET
path: "/api/public/organizations/{orgId}/groups"
tags: ["Groups"]
---

# List groups

`GET /api/public/organizations/{orgId}/groups`

## Request

- Base URL: `https://charts.basedash.com`
- URL: `https://charts.basedash.com/api/public/organizations/{orgId}/groups`
- Auth: HTTP bearer

Lists all groups for an organization. Requires admin access to the organization. Results are paginated and ordered by creation date (newest first).

## Path parameters

- `orgId` string, required: Organization ID

## Query parameters

- `limit` integer: Maximum number of items to return (1-100, default 50)
- `cursor` string: Cursor for pagination (ID of the last item from previous page)

## Response `200`

Groups retrieved successfully

- object
  - `data` GroupResponse[], required
    - `id` string, required: Group ID
    - `createdAt` string, date-time, required: Group creation timestamp
    - `updatedAt` string, date-time, required: Group last update timestamp
    - `name` string, required: Name of the group
    - `description` string, nullable, required: Description of the group
    - `organizationId` string, required: Organization ID
    - `memberCount` integer, required: Number of active organization members currently in the group
  - `pagination` PaginationMeta, required
    - `nextCursor` string, nullable, required: Cursor for the next page (null if no more pages)
    - `hasMore` boolean, required: Whether there are more items after this page

## Other responses

- `401`: Unauthorized - Missing or invalid API key
- `404`: Not found - Organization not found or no admin access
- `429`: Rate limit exceeded - Too many requests
- `500`: Internal server error

---

[API](https://skmtc.dev/basedash/apis/basedash-public-api.md) - [All operations](https://skmtc.dev/basedash/apis/basedash-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/basedash/apis/basedash-public-api/revisions/efb9d40bc6f7?raw)
