---
title: "List company roles"
method: GET
path: "/v1/companies/{company_id}/company_roles"
tags: ["Company role"]
---

# List company roles

`GET /v1/companies/{company_id}/company_roles`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/companies/{company_id}/company_roles`
- Auth: HTTP bearer

Returns the custom roles defined for the company, each with its permissions
(only `id` and `name` per permission). Supports the standard list query
parameters.

## Path parameters

- `company_id` string, uuid, required

## Parameters

- `#/paths/~1v1~1users/get/parameters/0` (unresolved $ref)
- `#/paths/~1v1~1users/get/parameters/1` (unresolved $ref)
- `#/paths/~1v1~1users/get/parameters/2` (unresolved $ref)
- `#/paths/~1v1~1users/get/parameters/3` (unresolved $ref)
- `#/paths/~1v1~1users/get/parameters/4` (unresolved $ref)

## Response `200`

Paginated list of company roles.

- CompanyRole[]
  - `id` string, uuid, required
  - `company_id` string, uuid, required
  - `name` string, required
  - `description` string, nullable
  - `permissions` object[]: Permissions granted by this role (only `id` and `name` are returned).
    - `id` string, uuid
    - `name` string
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Company not found

---

[API](https://skmtc.dev/cardda/apis/banking-api.md) - [All operations](https://skmtc.dev/cardda/apis/banking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardda/apis/banking-api/revisions/ff1aeb3fda8b?raw)
