---
title: "Returns all groups in the workspace"
method: GET
path: "/workspaces/{workspace_domain}/groups"
tags: ["Group API"]
---

# Returns all groups in the workspace

`GET /workspaces/{workspace_domain}/groups`

## Path parameters

- `workspace_domain` string, required

## Response `200`

- GroupsView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `groups` ShortGroupView[]
    - `url` string — API endpoint to GET this object
    - `html_url` string — Web URL to view this object in Buddy.works
    - `id` integer — The ID of the group
    - `name` string — The name of the group

## Changes

- **2026-08-25** `fa785a68f09d` — 2 info
  - the security scope `GROUP_READ` was added to the endpoint's security scheme `oauth2`
  - the security scope `WORKSPACE` was removed from the endpoint's security scheme `oauth2`
- **2026-08-04** `2426d67c249a` — 1 warning
  - removed the optional property `groups/items/description` from the response with the `200` status

[Change history](https://skmtc.dev/buddy/apis/buddy-api/changes/workspaces/:workspace_domain/groups/get.md)

---

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