Appearance
staff.licenceCompanies
1 method on staff.licenceCompanies. Each returns the answer's data and throws NoviqaError on a failed answer.
list
GET
/admin/v1/licence-companiesList licence companies
Staff with config.servers see every licence company; anyone else only the companies that own at least one trading group in their group scope (what they may filter by). The main company first, then by name. Any signed-in staff member may call it.
Returns
Promise<LicenceCompany[]>The answer's
data.Errors
401
auth.session_expired: session expired, sign in again403
auth.invalid_terminal: this terminal cannot be used here403
auth.otp_enrol_required: your group requires one-time codes: set them up to continue403
auth.password_change_required: you must change your password first500
internal: something went wrongts
import { staff } from "@/lib/noviqa"
const data = await staff.licenceCompanies.list()bash
curl -X GET "$NOVIQA_API_URL/admin/v1/licence-companies" \
-H "Authorization: Bearer $NOVIQA_TOKEN"json
{
"success": true,
"code": "ok",
"message": "done",
"data": [
{
"created_at": "2026-09-25T10:15:00Z",
"main": true,
"name": "Ann Smith"
}
],
"request_id": "5b7f2c1e"
}ts
staff.licenceCompanies.list(options?: RequestOptions): Promise<models.LicenceCompany[]>