LiteLogDocs
English

REST API: Accounts, roles and qualifications

This page belongs to the REST API reference, which covers the address, authentication, scopes, pagination and errors. Every path is appended to https://api.litelog.de/api. In the examples $KEY stands for your API key; the example values are made up.

Overview

Call Purpose Scope
GET /v1/accounts List employee accounts accounts:read
POST /v1/accounts Create an employee account accounts:write
GET /v1/accounts/{id} Employee account detail accounts:read
PATCH /v1/accounts/{id} Set custom-field values of an employee account accounts:write
POST /v1/accounts/archive Archive or restore employee accounts in a batch accounts:write
POST /v1/accounts/{id}/archive Archive a single employee account accounts:write
POST /v1/accounts/{id}/unarchive Restore a single employee account accounts:write
POST /v1/accounts/{id}/copy Copy an employee: role, properties, qualifications and custom fields accounts:write
POST /v1/accounts/{id}/invite-link Mint a copyable password-setup link (no mail is sent) accounts:write
GET /v1/accounts/{id}/properties Properties an employee may access accounts:read
PUT /v1/accounts/{id}/properties Set the properties an employee may access accounts:write
GET /v1/account-custom-fields Definitions of the tenant's custom account fields accounts:read
GET /v1/roles List roles (id, name, type, hierarchy, person_scope) roles:read
POST /v1/roles Create a custom role roles:write
GET /v1/qualifications Qualification catalog accounts:read
POST /v1/qualifications Create a qualification accounts:write
PATCH /v1/qualifications/{id} Rename a qualification accounts:write
DELETE /v1/qualifications/{id} Delete a qualification accounts:write
GET /v1/qualifications/account/{id} Qualifications assigned to an employee accounts:read
PUT /v1/qualifications/account/{id} Set the qualifications of an employee accounts:write

Notes

Account detail, assignment and field values follow the person scope of the key's account: a subcontractor reaches only its own people, any other account answers 404. PUT /v1/qualifications/account/{id} uses set semantics and replaces the whole assignment; an empty list removes all qualifications. GET returns valid_until per assignment (last valid day, null = no expiry); a PUT leaves existing dates unchanged. An expired qualification counts as missing in replacement suggestions and automatic staffing. DELETE /v1/qualifications/{id} deletes hard: assignments to accounts are dropped and staffing lines in work orders lose the qualification. A security-guard register number (§ 11b GewO) is not a system field — the tenant creates a custom field for it (e.g. key bewacherregister_nr, type text) and maintains the value through custom_fields.

PUT /v1/accounts/{id}/properties defines which properties an employee sees and matches the "Assignment" card in the employee record. The call replaces the whole assignment and takes exactly one of a property_ids list or all_properties: true. An empty list is refused with 422. The answer shows the state after the call (account_id, all_properties, property_ids). The key needs the scope accounts:write and the right to edit employees. The account the key is bound to cannot be changed (403, reason: ACCOUNT_IS_KEY_ACCOUNT), nor can accounts at or above its role level, customer logins and accounts outside its person scope (404). A subcontractor account cannot be set to "All properties" (422, reason: SUBCONTRACTOR_RELATION_GLOBAL), and a subcontractor key only hands out properties its own account can access (403, reason: PROPERTY_OUTSIDE_ACTOR_SCOPE). The change is recorded in the employee history; if the company requires change reasons, X-Change-Reason is mandatory. The mobile app picks the new assignment up with its next sync.

GET /v1/accounts

List employee accounts.

List accounts / create an employee account (counts against the seat limit); custom_fields sets custom-field values by key on creation. The list follows the key account's person scope: a key of a subcontractor account only sees itself and its own employees (as GET /v1/accounts/{id}).

Scope: accounts:read

Parameters

Name In Type Required Description
page query integer no Default: 1; at least 1.
pageSize query integer no Default: 50; 1 – 100.
role_id query integer no —
search query string no —
archived query boolean no —
custom_id query string no Exact personnel-number match — maps payroll/PMS employee ids to account_ids.

Example call

curl "https://api.litelog.de/api/v1/accounts?page=1&pageSize=50&search=Muster" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": [
    {
      "account_id": 41,
      "uuid": "3f2b8c1e-5a47-4d9e-8b21-6c0f9a7d4e15",
      "name": "Erika Musterfrau",
      "username": "erika.musterfrau@example.com",
      "custom_id": "1041",
      "role_id": 4,
      "role_type": "securityemployee",
      "language": "de",
      "archived": false
    },
    {
      "account_id": 42,
      "uuid": "9d4e7a12-b3c6-4f58-a1e9-2b7c5d8f0a36",
      "name": "Max Mustermann",
      "username": "max.mustermann@example.com",
      "custom_id": "1042",
      "role_id": 12,
      "role_type": "propertymanager",
      "language": "de",
      "archived": false
    }
  ],
  "total": 2,
  "page": 1,
  "pageSize": 50
}

POST /v1/accounts

Create an employee account.

List accounts / create an employee account (counts against the seat limit); custom_fields sets custom-field values by key on creation. The list follows the key account's person scope: a key of a subcontractor account only sees itself and its own employees (as GET /v1/accounts/{id}).

Scope: accounts:write

Parameters

Name In Type Required Description
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
name string yes —
username string no login, usually the e-mail (min 6 chars).
password string no min 8 chars.
role_id integer yes —
language string no ISO code, e.g. de, en.
timezone string no IANA timezone.
notes string or null no —
property_ids array (integer) no —
custom_fields object (CustomFieldValues) no Custom-field values by key. null clears a value. Numbers and booleans are accepted for fields of that type and stored as text. Unknown keys and an empty required field answer 422.
change_reason string no Optional. Creating needs no reason; when given, it is stored with the created row (alternatively header X-Change-Reason). At most 2000 characters.

Example call

curl -X POST "https://api.litelog.de/api/v1/accounts" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "name": "Erika Musterfrau",
  "username": "erika.musterfrau@example.com",
  "role_id": 4,
  "language": "de",
  "timezone": "Europe/Berlin",
  "notes": "Einsatz ab 01.12.2026, Filiale Nord",
  "property_ids": [
    123
  ]
}'

Example response (201)

{
  "data": {
    "account_id": 41,
    "uuid": "3f2b8c1e-5a47-4d9e-8b21-6c0f9a7d4e15",
    "username": "erika.musterfrau@example.com"
  }
}

GET /v1/accounts/{id}

Employee account detail.

Account detail (list fields, owner_account_id, qualifications[], custom_fields by key) / change custom fields (custom_fields; null clears a value; 422 on unknown key or empty required field).

Scope: accounts:read

Parameters

Name In Type Required Description
id path integer yes —

Example call

curl "https://api.litelog.de/api/v1/accounts/41" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": {
    "account_id": 41,
    "uuid": "3f2b8c1e-5a47-4d9e-8b21-6c0f9a7d4e15",
    "name": "Erika Musterfrau",
    "username": "erika.musterfrau@example.com",
    "custom_id": "1041",
    "role_id": 4,
    "role_type": "securityemployee",
    "language": "de",
    "archived": false,
    "owner_account_id": null,
    "qualifications": [
      {
        "qualification_id": 7,
        "name": "Ersthelfer",
        "valid_until": "2026-12-31"
      },
      {
        "qualification_id": 8,
        "name": "Sachkunde § 34a",
        "valid_until": null
      }
    ],
    "custom_fields": {
      "bewacherregister_nr": "0000000",
      "eintrittsdatum": "2026-12-01"
    }
  }
}

PATCH /v1/accounts/{id}

Set custom-field values of an employee account.

Account detail (list fields, owner_account_id, qualifications[], custom_fields by key) / change custom fields (custom_fields; null clears a value; 422 on unknown key or empty required field).

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
custom_fields object (CustomFieldValues) yes Custom-field values by key. null clears a value. Numbers and booleans are accepted for fields of that type and stored as text. Unknown keys and an empty required field answer 422.
change_reason string no Alternative to the X-Change-Reason header (same rules). At most 2000 characters.

Example call

curl -X PATCH "https://api.litelog.de/api/v1/accounts/41" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "custom_fields": {
    "bewacherregister_nr": "0000000",
    "eintrittsdatum": "2026-12-01"
  }
}'

Example response (200)

{
  "data": {
    "account_id": 41,
    "uuid": "3f2b8c1e-5a47-4d9e-8b21-6c0f9a7d4e15",
    "name": "Erika Musterfrau",
    "username": "erika.musterfrau@example.com",
    "custom_id": "1041",
    "role_id": 4,
    "role_type": "securityemployee",
    "language": "de",
    "archived": false,
    "owner_account_id": null,
    "qualifications": [
      {
        "qualification_id": 7,
        "name": "Ersthelfer",
        "valid_until": "2026-12-31"
      },
      {
        "qualification_id": 8,
        "name": "Sachkunde § 34a",
        "valid_until": null
      }
    ],
    "custom_fields": {
      "bewacherregister_nr": "0000000",
      "eintrittsdatum": "2026-12-01"
    }
  }
}

POST /v1/accounts/archive

Archive or restore accounts in a batch (up to 100 per request). Protected accounts come back under skipped with a reason instead of failing the whole run.

Scope: accounts:write

Parameters

Name In Type Required Description
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
account_ids array (integer) yes At most 100 items.
archived boolean yes true = archive, false = restore.
change_reason string no Alternative to the X-Change-Reason header (same rules). At most 2000 characters.

Example call

curl -X POST "https://api.litelog.de/api/v1/accounts/archive" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "account_ids": [
    41,
    42,
    5
  ],
  "archived": true,
  "change_reason": "[other] Austritt zum 31.12.2026"
}'

Example response (200)

{
  "data": {
    "applied": [
      41,
      42
    ],
    "skipped": [
      {
        "account_id": 5,
        "reason": "self"
      }
    ]
  }
}

POST /v1/accounts/{id}/archive

Archive a single employee account.

Archive or restore a single account.

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Example call

curl -X POST "https://api.litelog.de/api/v1/accounts/41/archive" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": {
    "archived": true
  }
}

POST /v1/accounts/{id}/unarchive

Restore a single employee account.

Archive or restore a single account.

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Example call

curl -X POST "https://api.litelog.de/api/v1/accounts/41/unarchive" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": {
    "archived": false
  }
}

POST /v1/accounts/{id}/copy

Create a new employee equipped like an existing one. Copied: role, property assignment (all properties or the list), qualifications, custom fields, language and, for staff of a subcontractor, the owner (owner_account_id). Never copied: name (name in the body names the new employee and is required), login name and e-mail, phone, password, PIN, the person's NFC chip, personnel number (drawn anew from the number series), note, birthday, address, devices, time entries and history. The valid-until date of a qualification belongs to the person's certificate: the copy gets the qualification without a date, and copy.issues[] names it (QUALIFICATION_VALIDITY_NOT_COPIED). The original is only read.

The account is created the same way as POST /v1/accounts: the role must rank below the role of the key's account (403), the licence needs a free seat (403 seat_limit_exceeded), and a subcontractor key only creates its own staff. No change reason is needed. Without username the server generates a login name; the employee gets access through an invite. Qualifications and fields are set after the account exists: if one of them fails, the account still exists and copy.issues[] names what is missing. Account outside the person scope of the key, customer portal login, foreign or unknown account: 404.

Scope: accounts:write

The key also needs the read scope accounts:read: the answer carries the values of the original.

Parameters

Name In Type Required Description
id path integer yes The account to copy (account_id).
Idempotency-Key header string (uuid) no Idempotency key as a header, an alternative to the body field uuid. The same key with the same body answers 200 with duplicate: true: no second account, no second licence seat. The same key with a different body answers 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH; while the first call is still running, 409 IDEMPOTENCY_KEY_IN_PROGRESS. A call that failed releases its key.

Body fields (JSON)

Field Type Required Description
uuid string (uuid) no Idempotency key (alternatively header Idempotency-Key).
name string yes Display name of the NEW employee. The name of the original is never copied. At most 100 characters.
username string no Login name (usually the e-mail), 6 to 50 characters. Omitted: the server generates one.
change_reason string no Optional reason for the audit trail (alternatively header X-Change-Reason).

Example call

curl -X POST "https://api.litelog.de/api/v1/accounts/40/copy" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6d1f8a35-4e2c-4b7a-9c60-3a5e7d9b1f24" \
  -d '{
  "name": "Ben Neu"
}'

Example response (201)

{
  "data": {
    "account_id": 41,
    "uuid": "b7e3c5a1-9d2f-4a6b-8c4e-1f0a3d5b7c92",
    "name": "Ben Neu",
    "username": "k3J2h1Lm9QpX",
    "custom_id": "M-0041",
    "role_id": 7,
    "role_type": "employee",
    "language": "de",
    "archived": false,
    "owner_account_id": null,
    "qualifications": [
      {
        "qualification_id": 3,
        "name": "Ersthelfer",
        "valid_until": null
      }
    ],
    "custom_fields": {
      "team": "Nord"
    },
    "source_account_id": 40
  },
  "created": true,
  "copy": {
    "all_properties": false,
    "property_ids": [
      124,
      131
    ],
    "issues": [
      {
        "code": "QUALIFICATION_VALIDITY_NOT_COPIED",
        "message": "valid-until dates belong to the person and were not copied: Ersthelfer"
      }
    ]
  }
}

POST /v1/accounts/{id}/invite-link

Mint a copyable password-setup link (no e-mail is sent).

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —

Example call

curl -X POST "https://api.litelog.de/api/v1/accounts/41/invite-link" \
  -H "X-Api-Key: $KEY"

Example response (201)

{
  "data": {
    "setup_url": "https://portal.litelog.de/set-password?token=BEISPIEL",
    "expires_at": "2026-12-15T08:15:00.000Z"
  }
}

GET /v1/accounts/{id}/properties

Properties an employee may access.

Read / set as a whole which properties an employee may access: property_ids[] (1 to 500) or all_properties: true for "All properties" (unknown, foreign or archived property → 422, reason: UNKNOWN_PROPERTY_IDS).

Scope: accounts:read

Parameters

Name In Type Required Description
id path integer yes —

Example call

curl "https://api.litelog.de/api/v1/accounts/41/properties" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": {
    "account_id": 41,
    "all_properties": false,
    "property_ids": [
      123
    ]
  }
}

PUT /v1/accounts/{id}/properties

Set the properties an employee may access.

Read / set as a whole which properties an employee may access: property_ids[] (1 to 500) or all_properties: true for "All properties" (unknown, foreign or archived property → 422, reason: UNKNOWN_PROPERTY_IDS).

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
property_ids array (integer) no At most 500 items.
all_properties boolean no Values: true.
change_reason string no Alternative to the X-Change-Reason header (same rules). At most 2000 characters.

Example call

curl -X PUT "https://api.litelog.de/api/v1/accounts/41/properties" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "property_ids": [
    123,
    124
  ]
}'

Example response (200)

{
  "data": {
    "account_id": 41,
    "all_properties": false,
    "property_ids": [
      123,
      124
    ]
  }
}

GET /v1/account-custom-fields

Definitions of the custom fields: key, label_de, label_en, type, options, required, sort_order.

Scope: accounts:read

Example call

curl "https://api.litelog.de/api/v1/account-custom-fields" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": [
    {
      "key": "bewacherregister_nr",
      "label_de": "Bewacherregister-Nr.",
      "label_en": "Guard register no.",
      "type": "text",
      "options": null,
      "required": false,
      "sort_order": 1
    },
    {
      "key": "eintrittsdatum",
      "label_de": "Eintrittsdatum",
      "label_en": "Start date",
      "type": "date",
      "options": null,
      "required": false,
      "sort_order": 2
    }
  ]
}

GET /v1/roles

List roles (id, name, type, hierarchy, person_scope).

List roles / create a custom role with permission codes.

Scope: roles:read

Example call

curl "https://api.litelog.de/api/v1/roles" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": [
    {
      "role_id": 12,
      "name": "Objektleitung",
      "type": "propertymanager",
      "hierarchy": 50,
      "editable": true,
      "person_scope": "below_level"
    },
    {
      "role_id": 4,
      "name": "Mitarbeiter",
      "type": "securityemployee",
      "hierarchy": 20,
      "editable": true,
      "person_scope": "below_level"
    }
  ]
}

POST /v1/roles

Create a custom role.

List roles / create a custom role with permission codes.

Scope: roles:write

Body fields (JSON)

Field Type Required Description
name string yes —
permissions array (string) yes —
hierarchy integer no 1 – 99.
person_scope string no Values: below_level, own_only.
change_reason string no Reason for the change approval (alternatively header X-Change-Reason). At most 2000 characters.

Example call

curl -X POST "https://api.litelog.de/api/v1/roles" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "name": "Objektleitung",
  "permissions": [
    "LOGIN_PORTAL",
    "LOGIN_APP",
    "VIEW_PROPERTIES",
    "VIEW_PERSONS",
    "VIEW_REPORTS",
    "VIEW_TIME_TRACKING"
  ],
  "hierarchy": 50,
  "person_scope": "below_level",
  "change_reason": "[new_requirement] Neue Rolle für die Objektleitung"
}'

Example response (201)

{
  "data": {
    "role_id": 12,
    "name": "Objektleitung",
    "hierarchy": 50,
    "person_scope": "below_level"
  }
}

GET /v1/qualifications

Qualification catalog.

List the tenant's qualification catalog / create a qualification (name; duplicate → 409, reason: QUALIFICATION_NAME_DUPLICATE; needs the right "Manage catalogs"). The counters follow the key account's person scope: a key of a subcontractor account counts account_count only over itself and its own employees, and staffing_count is then 0.

Scope: accounts:read

Example call

curl "https://api.litelog.de/api/v1/qualifications" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": [
    {
      "qualification_id": 7,
      "name": "Ersthelfer",
      "created_at": "2026-12-01T08:15:00.000Z",
      "account_count": 4,
      "staffing_count": 1
    },
    {
      "qualification_id": 8,
      "name": "Sachkunde § 34a",
      "created_at": "2026-12-01T08:16:00.000Z",
      "account_count": 2,
      "staffing_count": 3
    }
  ]
}

POST /v1/qualifications

Create a qualification.

List the tenant's qualification catalog / create a qualification (name; duplicate → 409, reason: QUALIFICATION_NAME_DUPLICATE; needs the right "Manage catalogs"). The counters follow the key account's person scope: a key of a subcontractor account counts account_count only over itself and its own employees, and staffing_count is then 0.

Scope: accounts:write

Parameters

Name In Type Required Description
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
name string yes At most 120 characters.
change_reason string no Optional (alternatively header X-Change-Reason). At most 2000 characters.

Example call

curl -X POST "https://api.litelog.de/api/v1/qualifications" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "name": "Brandschutzhelfer"
}'

Example response (201)

{
  "data": {
    "qualification_id": 9,
    "name": "Brandschutzhelfer",
    "account_count": 0,
    "created_at": "2026-12-01T08:15:00.000Z"
  }
}

PATCH /v1/qualifications/{id}

Rename a qualification.

Rename / delete a qualification (204; change_reason optional).

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
name string yes At most 120 characters.
change_reason string no Alternative to the X-Change-Reason header (same rules). At most 2000 characters.

Example call

curl -X PATCH "https://api.litelog.de/api/v1/qualifications/8" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "name": "Sachkundeprüfung § 34a GewO"
}'

Example response (200)

{
  "data": {
    "qualification_id": 8,
    "name": "Sachkundeprüfung § 34a GewO",
    "account_count": 2,
    "created_at": "2026-12-01T08:16:00.000Z"
  }
}

DELETE /v1/qualifications/{id}

Delete a qualification.

Rename / delete a qualification (204; change_reason optional).

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Example call

curl -X DELETE "https://api.litelog.de/api/v1/qualifications/9" \
  -H "X-Api-Key: $KEY"

Example response: 204, no body.

GET /v1/qualifications/account/{id}

Qualifications assigned to an employee.

Read / set an employee's qualifications as a whole (qualification_ids[]; unknown id → 422, reason: UNKNOWN_QUALIFICATION_IDS).

Scope: accounts:read

Parameters

Name In Type Required Description
id path integer yes —

Example call

curl "https://api.litelog.de/api/v1/qualifications/account/41" \
  -H "X-Api-Key: $KEY"

Example response (200)

{
  "data": [
    {
      "qualification_id": 7,
      "name": "Ersthelfer",
      "valid_until": "2026-12-31"
    },
    {
      "qualification_id": 8,
      "name": "Sachkunde § 34a",
      "valid_until": null
    }
  ]
}

PUT /v1/qualifications/account/{id}

Set the qualifications of an employee.

Read / set an employee's qualifications as a whole (qualification_ids[]; unknown id → 422, reason: UNKNOWN_QUALIFICATION_IDS).

Scope: accounts:write

Parameters

Name In Type Required Description
id path integer yes —
X-Change-Reason header string no Reason for the change, URI-encoded, prefixed with a reason code: [correction], [new_requirement], [customer_request], [error_fix], [periodic_review] or [other], e.g. %5Bcorrection%5D%20typo%20in%20name. Required when the tenant policy "Änderungsgrund erforderlich" is on, or when the change needs an approval request; stored in the configuration audit trail. At most 2000 characters.

Body fields (JSON)

Field Type Required Description
qualification_ids array (integer) yes At most 200 items.
change_reason string no Alternative to the X-Change-Reason header (same rules). At most 2000 characters.

Example call

curl -X PUT "https://api.litelog.de/api/v1/qualifications/account/41" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "qualification_ids": [
    7,
    8
  ]
}'

Example response (200)

{
  "data": [
    {
      "qualification_id": 7,
      "name": "Ersthelfer",
      "valid_until": "2026-12-31"
    },
    {
      "qualification_id": 8,
      "name": "Sachkunde § 34a",
      "valid_until": null
    }
  ]
}