---
title: "Check Member Role"
method: GET
path: "/v1/members/{user_id}/roles/{role_id}/"
tags: ["members"]
---

# Check Member Role

`GET /v1/members/{user_id}/roles/{role_id}/`

## Request

- Base URL: `https://api.monni.fyi` (the document declares no server; this is the origin it was published from)
- URL: `https://api.monni.fyi/v1/members/{user_id}/roles/{role_id}/`
- Auth: API key in header `X-API-Key`

Check whether a member holds one specific role.

Answers `has_role` for the role you asked about. The role does not have to exist in the
server: one that was deleted, or that belongs elsewhere, simply reports false.

A user who is not in the server answers 404.

Requires an API key with the `discord.view_members` permission.

## Path parameters

- `user_id` integer, required
- `role_id` integer, required

## Response `200`

Successful Response

- RoleCheck
  - `user_id` string, required
  - `role_id` string, required
  - `has_role` boolean, required

## Other responses

- `422`: Validation Error
- `429`: Out of requests. `X-RateLimit-Bucket` says which limit you hit and `Retry-After` how many seconds to wait. This request was not counted against you.

## Changes

- **2026-09-16** `83ac8f547df8`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/monni/apis/monni-api/changes/v1/members/:user_id/roles/:role_id/get.md)

---

[API](https://skmtc.dev/monni/apis/monni-api.md) - [All operations](https://skmtc.dev/monni/apis/monni-api/llms.txt) - [OpenAPI document](https://skmtc.dev/monni/apis/monni-api/revisions/a35aef40d880?raw)
