---
title: "Get a company"
method: GET
path: "/api/v1/companies/{id}"
tags: ["Companies"]
---

# Get a company

`GET /api/v1/companies/{id}`

## Request

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

## Path parameters

- `id` string, uuid, required

## Response `200`

Company

- Company
  - `id` string, uuid, required: UUID of the company.
  - `tenantId` string, uuid, required
  - `slug` string, required: Stable identifier within a tenant. Lowercase, dashes allowed, 3–40 chars.
  - `name` string, required: Human-readable display name.
  - `status` 'active' | 'suspended' | 'archived', required: Lifecycle state. `archived` companies are hidden from default listings but kept for analytics joins.
  - `theme` object, required: The company's own branding. Its QR landing pages use it over the workspace theme; missing fields fall back to the workspace.
    - `primaryColor` string
    - `accentColor` string
    - `logoUrl` string
    - `faviconUrl` string
    - `fontFamily` string
    - `footerText` string
    - `defaultCta` string
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## 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)
