---
title: "List companies the caller can act on"
method: GET
path: "/api/v1/companies"
tags: ["Companies"]
---

# List companies the caller can act on

`GET /api/v1/companies`

## Request

- Base URL: `https://qrlia.dev.castlesoft.eu`
- URL: `https://qrlia.dev.castlesoft.eu/api/v1/companies`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `qrc_session`

## Response `200`

Accessible companies

- object
  - `items` AccessibleCompany[], required
    - `id` string, uuid, required: UUID of the company.
    - `slug` string, required: Stable identifier within a tenant. Lowercase, dashes allowed, 3–40 chars.
    - `name` string, required: Human-readable display name.
    - `role` 'tenant_admin' | 'company_admin' | 'company_editor' | 'company_viewer', required
  - `next` string, nullable

## Other responses

- `400`: Validation failed
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `500`: Internal

---

[API](https://skmtc.dev/qrlia/apis/qrlia-api.md) · [All operations](https://skmtc.dev/qrlia/apis/qrlia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qrlia/apis/qrlia-api/revisions/01c5dd6002ab?raw)
