---
title: "Get team groups by channels"
method: GET
path: "/api/v4/teams/{team_id}/groups_by_channels"
tags: ["groups"]
---

# Get team groups by channels

`GET /api/v4/teams/{team_id}/groups_by_channels`

Retrieve the set of groups associated with the channels in the given team grouped by channel.

##### Permissions
Must have `manage_system` permission or can access only for current user

## Path parameters

- `team_id` string, required

## Query parameters

- `page` integer
- `per_page` integer
- `filter_allow_reference` boolean
- `paginate` boolean

## Response `200`

Group list retrieval successful

- object

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `500` — Something went wrong with the server
- `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)
