---
title: "Get groups"
method: GET
path: "/api/v4/groups"
tags: ["groups"]
---

# Get groups

`GET /api/v4/groups`

Retrieve a list of all groups not associated to a particular channel or team.

`not_associated_to_team` **OR** `not_associated_to_channel` is required.

If you use `not_associated_to_team`, you must be a team admin for that particular team (permission to manage that team).

If you use `not_associated_to_channel`, you must be a channel admin for that particular channel (permission to manage that channel).

n

## Query parameters

- `page` integer
- `per_page` integer
- `q` string
- `include_member_count` boolean
- `not_associated_to_team` string, required
- `not_associated_to_channel` string, required
- `since` integer
- `filter_allow_reference` boolean

## Response `200`

Group list retrieval successful

- 38cb7293Group[]
  - `id` string
  - `name` string
  - `display_name` string
  - `description` string
  - `source` string
  - `remote_id` string
  - `create_at` integer
  - `update_at` integer
  - `delete_at` integer
  - `has_syncables` boolean

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `501` — Feature is disabled

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
