---
title: "Gets a list of the rolesets in a group."
method: GET
path: "/v1/groups/{groupId}/roles"
tags: ["Groups"]
---

# Gets a list of the rolesets in a group.

`GET /v1/groups/{groupId}/roles`

## Path parameters

- `groupId` integer, required

## Response `200`

OK

- RobloxGroupsApiGroupAllRolesResponse — A group roles response model
  - `groupId` integer — The group id
  - `roles` RobloxGroupsApiGroupRoleResponse[] — The roles in the group
    - `id` integer — The role id
    - `name` string — The role name
    - `description` string — The role description
    - `rank` integer — The role rank
    - `memberCount` integer — The number of members in the role.
    - `isBase` boolean — Whether or not the role is the base role for the group
    - `color` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 — The role color. ['Invalid' = 0, 'Blue' = 1, 'Green' = 2, 'Purple' = 3, 'Yellow' = 4, 'Orange' = 5, 'Red' = 6, 'Magenta' = 7, 'Teal' = 8, 'Turquoise' = 9, 'Rust' = 10, 'Pistachio' = 11, 'Midnight' = 12, 'Lavender' = 13, 'Pink' = 14, 'Crimson' = 15, 'Plum' = 16]

## Other responses

- `400` — 1: The group is invalid or does not exist.

---

[API](https://skmtc.net/roblox/apis/roblox-api.md) · [All operations](https://skmtc.net/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/roblox/roblox-api/versions/756260310407/schema)
