---
title: "List Roles"
method: GET
path: "/organizations/roles"
tags: ["Organization"]
---

# List Roles

`GET /organizations/roles`

## Request

- Base URL: `https://api.attention.tech/v2`
- URL: `https://api.attention.tech/v2/organizations/roles`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/attention/apis/attention-service-v2/docs/organizations/roles/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of roles

## Response `200`

Roles successfully returned

- ListOrganizationRolesResponse
  - `data` Role[]
    - `uuid` string
    - `name` string
    - `type` string

## Other responses

- `401`: Valid API key required
- `500`: Unexpected server error. Please try again later.
- `default`: unexpected error

---

[API](https://skmtc.dev/attention/apis/attention-service-v2.md) - [All operations](https://skmtc.dev/attention/apis/attention-service-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/attention/apis/attention-service-v2/revisions/cd99c71f42bb?raw)
