---
title: "Get all groups of the current user"
method: GET
path: "/groups"
tags: ["groups"]
---

# Get all groups of the current user

`GET /groups`

## Request

- Base URL: `https://pmp-demo.privateplatform.mendix.com/groupservice/v2`
- URL: `https://pmp-demo.privateplatform.mendix.com/groupservice/v2/groups`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Get all groups of the current user

## Response `200`

Group list

- object[]
  - `id` string: Group Id
  - `name` string: Group name
  - `description` string: Group description
  - `memberCount` integer: Group member count
  - `parentGroup` string: Parent group name

## Other responses

- `400`: Invalid input parameter or request body
- `401`: Authentication information is missing or invalid
- `403`: User has no permission for this operation
- `404`: Resource not found

---

[API](https://skmtc.dev/mendix/apis/group-service-v2.md) - [All operations](https://skmtc.dev/mendix/apis/group-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/group-service-v2/revisions/77591db6a820?raw)
