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

# GET /roles

`GET /roles`

Returns an array of all the roles in a Heartbeat community

## Response `200`

Successful response

- Role[]
  - `id` string, uuid — The role id
  - `name` string — The name of the role

## Other responses

- `401` — API Key is missing or invalid

---

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