---
title: "Get groups for a userId"
method: GET
path: "/api/v4/users/{user_id}/groups"
tags: ["groups"]
---

# Get groups for a userId

`GET /api/v4/users/{user_id}/groups`

Retrieve the list of groups associated to the user

## Path parameters

- `user_id` string, required

## 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
- `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)
