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

# List workspace groups

`GET /groups`

Returns the groups shown in the Workspace Groups UI across the authenticated Account.

Example request:

`GET /v1/groups?workspaceId=workspace123&limit=2`

## Query parameters

- `workspaceId` string
- `limit` integer
- `cursor` string

## Response `200`

Group list.

- GroupListResponse
  - `data` Group[], required
    - `id` string, required — Opaque group identifier.
    - `workspaceId` string, required — Workspace that owns the group.
    - `name` string, required
    - `type` 'custom' | 'admin' | 'member' | 'guest', required
  - `pagination` union, required
    - object
      - `cursor` string, required — Opaque cursor for the next page.
      - `hasMore` true, required
    - object
      - `cursor` unknown, required
      - `hasMore` false, required

## Other responses

- `400` — The request parameters are invalid.
- `401` — The API key is missing, malformed, unknown, revoked, or expired.
- `403` — The API key lacks the required scope or Account entitlement.
- `404` — The requested resource does not exist or is not visible to this key.
- `429` — The API key or operation exceeded its rate limit.
- `500` — The server encountered an unexpected error.
- `503` — A required API dependency is temporarily unavailable.

## Changes

- **2026-08-29** `7293f5108d59` — 28 warning
  - added the new `conflict` enum value to the `error/code` response property for the response status `400`
  - added the new `conflict` enum value to the `error/code` response property for the response status `401`
  - added the new `conflict` enum value to the `error/code` response property for the response status `403`
  - added the new `conflict` enum value to the `error/code` response property for the response status `404`
  - …24 more
- **2026-08-08** `c57911e5fe90` — 21 warning
  - added the new `audit_log_content_too_large` enum value to the `error/code` response property for the response status `400`
  - added the new `audit_log_content_too_large` enum value to the `error/code` response property for the response status `401`
  - added the new `audit_log_content_too_large` enum value to the `error/code` response property for the response status `403`
  - added the new `audit_log_content_too_large` enum value to the `error/code` response property for the response status `404`
  - …17 more
- …earlier changes not shown

[Full history](https://skmtc.dev/replit/apis/replit-api/changes/groups/get.md)

---

[API](https://skmtc.dev/replit/apis/replit-api.md) · [All operations](https://skmtc.dev/replit/apis/replit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/replit/replit-api/revisions/7293f5108d59/schema)
