---
title: "Return list of groups"
method: GET
path: "/groups"
tags: ["groups"]
---

# Return list of groups

`GET /groups`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/groups`
- Auth: HTTP bearer

Lists the groups available to the caller, including archived ones by default; set the `include_archived_groups` query parameter to false to exclude them. Use it for full group details; use GET /teams when you only need a lightweight list, and GET /groups/{group_id} when you already know which group you want.

 **Token scopes**: `groups:read`

## Query parameters

- `limit` integer
- `sort_order` 'ASC' | 'DESC'
- `cursor` string
- `include_archived_groups` boolean
- `external_metadata` string

## Response `200`

A list of groups in the organization.

- GroupsGetGroupsResponse200
  - `data` GroupsGetResponsesContentApplicationJsonSchemaDataItems[]
    - `id` string: The unique identifier of the group.
    - `name` string: The name of the group.
    - `status` 'active' | 'archived': The current status of the group (active or archived).
    - `managers` number, double: The number of managers associated with the group.
    - `created_at` string, date-time: The timestamp when the group was created.
    - `updated_at` string, date-time: The timestamp when the group was last updated.
    - `archived_at` string, date-time, nullable: The timestamp when the group was archived (if applicable).
    - `external_metadata` GroupsGetResponsesContentApplicationJsonSchemaDataItemsExternalMetadata, nullable: Extra information about the group.
  - `page` GroupsGetResponsesContentApplicationJsonSchemaPage
    - `cursor` string, nullable: An opaque cursor to fetch the next set of results.
    - `total_rows` integer: The total number of groups available for the current query (including pagination).

## Other responses

- `400`: Invalid request parameters.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

## Changes

- **2026-11-26** `0f7faa55c3d9`: 2 info
  - api tag `groups` added
  - api tag `Groups` removed

[Operation history](https://skmtc.dev/deel/apis/endpoints/changes/groups/get.md)

---

[API](https://skmtc.dev/deel/apis/endpoints.md) - [All operations](https://skmtc.dev/deel/apis/endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints/revisions/0c7142fd9f93?raw)
