---
title: "Get All Roles back. See Kavita.Models.Constants.PolicyConstants"
method: GET
path: "/api/Account/roles"
tags: ["Account"]
---

# Get All Roles back. See Kavita.Models.Constants.PolicyConstants

`GET /api/Account/roles`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Account/roles`
- Auth: API key in header `x-api-key`

## Response `200`

OK

- string[]

## Changes

- **2026-08-08** `cc7f90a35897`: 1 info
  - endpoint added
- **2026-04-13** `2a82e5fe5308`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Account/roles/get.md)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
