---
title: "Get workspace project groups."
method: GET
path: "/workspaces/{workspace_id}/project_groups"
tags: ["groups"]
---

# Get workspace project groups.

`GET /workspaces/{workspace_id}/project_groups`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/project_groups`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/project_groups/get.ts> (a function with typed inputs; its response is checked against the schema)

Get project groups for given workspace.

## Path parameters

- `workspace_id` integer, required

## Request body `application/x-www-form-urlencoded`

- object
  - `project_ids` string, required: Project IDs separated by comma.

## Response `200`

Successful operation.

- ModelsProjectGroup[]
  - `group_id` integer
  - `id` integer
  - `pid` integer
  - `wid` integer

## Other responses

- `403`: User does not have access to this resource.
- `500`: Internal Server Error

---

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