---
title: "Gets the Roles by their ids."
method: GET
path: "/v1/roles"
tags: ["Groups"]
---

# Gets the Roles by their ids.

`GET /v1/roles`

## Query parameters

- `ids` integer[], required

## Response `200`

OK

- RobloxWebWebAPIModelsApiArrayResponseRobloxGroupsApiGroupRoleDetailResponse
  - `data` RobloxGroupsApiGroupRoleDetailResponse[]
    - `groupId` integer — The id of the group the role belongs to
    - `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: Ids could not be parsed from request. 2: Too many ids in request.

---

[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/e15802062270/schema)
