---
title: "Get user groups"
method: GET
path: "/rest/api/3/user/groups"
tags: ["Users"]
---

# Get user groups

`GET /rest/api/3/user/groups`

Returns the groups to which a user belongs.

**[Permissions](#permissions) required:** *Browse users and groups* [global permission](https://confluence.atlassian.com/x/x4dKLg).

## Query parameters

- `accountId` string, required
- `username` string
- `key` string

## Response `200`

Returned if the request is successful.

- GroupName[]
  - `groupId` string, nullable — The ID of the group, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
  - `name` string — The name of group.
  - `self` string, uri — The URL for these group details.

## Other responses

- `401` — Returned if the authentication credentials are incorrect or missing.
- `403` — Returned if the calling user does not have the *Browse users and groups* global permission.
- `404` — Returned if the user is not found.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-3.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api-3/versions/5a51740d7ab3/schema)
