---
title: "Get Role By Id"
method: GET
path: "/roles/{id}"
tags: ["Roles"]
---

# Get Role By Id

`GET /roles/{id}`

## Path parameters

- `id` integer, required

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

## Changes

> 70 revisions in range; 11 could not be searched.

- **2026-04-05** `c419b1e72a65` — 1 breaking, 5 info
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `getRoleById` was added
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `JWTAuth` was removed from the API
  - …2 more
- **2025-09-11** `cfa9ae933c17` — 1 breaking, 3 warning, 4 info
  - the `data` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `data/description` from the response with the `200` status
  - removed the optional property `data/id` from the response with the `200` status
  - removed the optional property `data/name` from the response with the `200` status
  - …4 more
- **2025-08-29** `af64a3a9480e` — 1 breaking, 3 info
  - the `data` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `data/description` to the response with the `200` status
  - added the optional property `data/id` to the response with the `200` status
  - added the optional property `data/name` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/verifywise-ai/apis/verifywise-api/changes/roles/:id/get.md)

---

[API](https://skmtc.dev/verifywise-ai/apis/verifywise-api.md) · [All operations](https://skmtc.dev/verifywise-ai/apis/verifywise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/verifywise-ai/verifywise-api/revisions/3b138b306b5b/schema)
