Companies

Create a company (tenant-admin only)

post/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

Request body

namestring required

Human-readable display name.

slugstring

Auto-derived from name when omitted (slugified, lowercase).

Response

Created

idstring uuid required

UUID of the company.

tenantIdstring uuid required
slugstring required

Stable identifier within a tenant. Lowercase, dashes allowed, 3–40 chars.

namestring required

Human-readable display name.

status'active' | 'suspended' | 'archived' required

Lifecycle state. archived companies are hidden from default listings but kept for analytics joins.

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.