---
title: "Get Roles"
method: GET
path: "/v1/roles"
---

# Get Roles

`GET /v1/roles`

## Request

- Base URL: `https://app.untetherlabs.com/api`
- URL: `https://app.untetherlabs.com/api/v1/roles`
- Auth: HTTP bearer

Fetch Roles

## Query parameters

- `team` string, uuid
- `pageSize` number
- `cursor` string

## Response `200`

- GetRolesResponse
  - `items` Role[], required
    - `id` string, uuid, required
    - `createdAt` string, required
    - `name` string, required
    - `team` string, uuid, required
    - `teamName` string, required
    - `hexColor` string, required
  - `cursor` string

## Other responses

- `400`: We follow the [RFC-9457](https://www.rfc-editor.org/rfc/rfc9457.html) Problem Detail specification for error responses. Errors should be identified by their `type` field. You can view extensions for each error response below.

---

[API](https://skmtc.dev/untetherlabs/apis/untether-labs-api.md) - [All operations](https://skmtc.dev/untetherlabs/apis/untether-labs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/untetherlabs/apis/untether-labs-api/revisions/143223935df3?raw)
