---
title: "Get the tenant + actor for the current credentials"
method: GET
path: "/api/v1/tenants/current"
tags: ["Tenant"]
---

# Get the tenant + actor for the current credentials

`GET /api/v1/tenants/current`

## Request

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

## Response `200`

Tenant + actor

- object
  - `id` string, uuid, required
  - `slug` string, required
  - `name` string, required
  - `plan` string, required
  - `designerStyleTab` boolean, required
  - `designerFrameTab` boolean, required
  - `qrFolders` boolean, required
  - `theme` object, required
  - `actor` object, required
    - `kind` 'session' | 'api-tenant' | 'api-company', required
    - `isTenantAdmin` boolean, required
    - `pinnedCompanyId` string, uuid, nullable, required
    - `accessibleCompanies` 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

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