---
title: "Get Groups for a Specific User"
method: GET
path: "/api/v2/users/{id}/groups"
tags: ["User"]
---

# Get Groups for a Specific User

`GET /api/v2/users/{id}/groups`

This endpoint retrieves all groups for a specific user. You can retrieve a user by specifying the ID as a path parameter or specifying an identifier as a query string URL parameter. For example, `https://api.betatest.degreed.com/api/v2/users/<email_value>/groups?identifier=email`<h3>Required Scope</h3>`users:read`, `users:write`, `groups:read` or `groups:write`

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer
- `identifier` string

## Response `200`

Success

- GroupMember
  - `links` SelfWithNextLink
    - `self` string
    - `next` string
  - `data` GroupMemberData[]
    - `type` string, nullable
    - `id` string, nullable
    - `attributes` GroupMembershipAttributes
      - `employee-id` string, nullable — The employee id of the user.
      - `joined-at` string, date-time, nullable — Date that the user joined the group. (UTC)
      - `group-role` string, nullable — The role that the user has within the group. Can be `Admin` or `Member`.
    - `relationships` GroupMemberRelationships[]
      - GroupMemberRelationshipsInner[]
        - `group` GroupRelationshipInner
          - `data` GroupRelationshipInnerData
            - `id` string, nullable
            - `type` string, nullable
        - `user` UserRelationshipsInnerUser
          - `data` UserRelationshipData
            - `id` string, nullable
            - `type` string, nullable

---

[API](https://skmtc.net/degreed/apis/degreed-api-web.md) · [All operations](https://skmtc.net/degreed/apis/degreed-api-web/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/degreed/degreed-api-web/revisions/4a22b709515c/schema)
