---
title: "List Roles"
method: GET
path: "/v3/enterprise/roles"
tags: ["roles"]
---

# List Roles

`GET /v3/enterprise/roles`

Get roles for this enterprise

## Query parameters

- `after` string, nullable
- `first` integer

## Response `200`

Successful Response

- PaginatedResponseRole
  - `end_cursor` string, nullable — Cursor to fetch the next page, or None if this is the last page.
  - `has_next_page` boolean — Whether there are more items available after this page.
  - `items` Role[], required
    - `role_id` string, required
    - `role_name` string, required
    - `role_type` 'enterprise' | 'org', required
  - `total` integer, nullable — Optional total count (can be omitted for performance).

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content
- `429` — Too Many Requests

---

[API](https://skmtc.net/devin/apis/devin-api-v1.md) · [All operations](https://skmtc.net/devin/apis/devin-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devin/devin-api-v1/revisions/e3244476af1c/schema)
