---
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

---

[API](https://skmtc.net/buddy/apis/buddy-api.md) · [All operations](https://skmtc.net/buddy/apis/buddy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/buddy/buddy-api/versions/2426d67c249a/schema)
