---
title: "GET /roles/{id}"
method: GET
path: "/roles/{id}"
tags: ["roles"]
---

# GET /roles/{id}

`GET /roles/{id}`

## Path parameters

- `id` integer, required

## Response `200`

role

- object
  - `message` string
  - `data` Role
    - `id` integer
    - `name` string
    - `description` string

## Other responses

- `404` — no content to display
- `500` — internal server error

## Changes

- **2025-08-07** `8f39d60f160a` — 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
- **2025-01-22** `ed48b7196725` — 9 info
  - api operation id `getRoleById` removed and replaced with ``
  - the endpoint scheme security `JWTAuth` was added to the API
  - the endpoint scheme security `bearerAuth` was removed from the API
  - api tag `roles` added
  - …5 more

[Change 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/8f39d60f160a/schema)
