---
title: "List all memberships in a group"
method: GET
path: "/api/v2/groups/{groupId}/roles"
tags: ["Groups"]
---

# List all memberships in a group

`GET /api/v2/groups/{groupId}/roles`

> 🔑
>
> Required OAuth scope: `groups:read`.

> 📖
>
> This endpoint is paginated with a page size of 1,000 memberships. For more information, see the [Pagination guide](https://360learning.readme.io/docs/pagination).

Lists all the memberships, sorted per user, of a specific group.

## Path parameters

- `groupId` string, ObjectId, required

## Headers

- `360-api-version` 'v2.0', required

## Response `200`

Returns one page of 1000 memberships.

- UserRole[]
  - `userId` string, ObjectId, required — The unique ID of the user.
  - `role` 'admin' | 'analyst' | 'editor' | 'coach' | 'contributor' | 'learner' | 'owner' | 'userAdmin', required — The role of the group member.

## Other responses

- `401` — The given access token is either missing, invalid, has expired, or has been revoked.
- `403` — The given access token does not have the required OAuth scope to execute the request.
- `404` — The given `groupId` does not correspond to any existing group.
- `429` — The client has sent too many requests in a short amount of time.

---

[API](https://skmtc.dev/360learning/apis/core-api.md) · [All operations](https://skmtc.dev/360learning/apis/core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/360learning/core-api/revisions/94b691b0b72c/schema)
