LiteLogDocs
English

REST API: Key and properties

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/me Introspect the calling key (setup/debug) —
GET /v1/properties List properties (master data) properties:read
POST /v1/properties Create a property with all of its settings (PMS master-data sync, branch roll-out) properties:write
POST /v1/properties/bulk Create up to 100 properties in one call properties:write
GET /v1/properties/{id} Get one property with all of its settings properties:read
PATCH /v1/properties/{id} Update property master data and any of its settings properties:write
POST /v1/properties/{id}/worktime-chip Bind an NFC chip to the property's work-time tag (without a scan) properties:write
POST /v1/properties/{id}/copy Copy a property: master data and settings, on request control points, patrol routes, recurring tasks and assignments properties:write

Notes

Settings on creation

Besides name, address and customer, POST /v1/properties accepts every property setting the portal knows — with the flat field names of the OpenAPI specification (schema PropertySettings): modules (show_time, show_routes, …), time tracking (wt_allowed_checkin_methods, execution windows, visit gaps, service window, pauses, blocked windows), tamper protection (wt_verification, routes_verification, …), digital signature, patrol settings (routes_auto_end_minutes), incident reports, working days, time zone, category, responsible persons, mail recipients, shift defaults and coordinates (location.point as [lat, lng], optionally an area as a GeoJSON ring). Settings you do not set take the industry defaults of your tenant.

  • Template: settings_from_property_id takes over time tracking, tamper protection, signature, patrol and incident settings, modules, working days, time zone and shift defaults of a property the key can see. Fields you set explicitly win. Master data, address, coordinates, customer, category and responsible persons are never copied.
  • Idempotency: The uuid is the key for repeated calls and at the same time the id in the property's portal address. The same call again answers 200 with duplicate: true and the property created first; differing fields of the repeat are ignored. If the uuid is taken by a property the key cannot see, the API answers 409 with errorCode: PROPERTY_KEY_TAKEN without creating anything.
  • Public holidays: With country: "DE" and a region (e.g. BY), LiteLog creates the public holidays of the federal state for the next years automatically; the answer names holidays_created. If a PATCH later changes the country or region, LiteLog replaces the automatically created future holidays (the old region's are removed, the new region's created); holidays entered by hand stay. If the region is removed or the country is not DE, the future automatic holidays are only removed.
  • One transaction: The property and all of its settings are written together — on an error nothing is left behind. Notes that did not prevent the creation come back in warnings (for example geofence_without_area when a verification is set to geofencing but no area was passed).
  • Several properties: POST /v1/properties/bulk first checks all rows (customer, template, category, responsible persons, workflows, mail addresses) — if the check fails, nothing is created. Then every row runs in its own transaction; a failed row does not roll back the others.
  • Change approval: Creation is not subject to it. PATCH normally answers with data and warnings. If approval for property settings is switched on in your company and the call changes a field subject to approval (modules, tamper protection, signature, check-in and check-out methods, GPS tracking, beacon threshold, photo fallback, AI classification, coordinates), it needs change_reason (else 422, errorCode: CHANGE_REASON_REQUIRED) and answers 200 with changed: false, approval_pending: true, batch_id, entity_type and label; the change is written only after approval in the portal. While that request is open, another PATCH subject to approval answers 409 (REQUEST_PENDING). Fields not subject to approval, such as name, address or notes, are written immediately.
  • Tamper protection: geofencing (location check via GPS zone) also switches on the location check (location_lock) of the respective feature; beacon and none switch it off.
  • A key that is limited to certain properties sees the created property in GET /v1/properties afterwards.

GET /v1/me

Inspect the key (tenant, access account, scopes).

No scope required; every valid key may make this call.

Example call

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

Example response (200)

{
  "tenant_id": 284,
  "account_id": 5,
  "key": {
    "name": "PMS Produktion",
    "prefix": "ll_live_a1b2",
    "scopes": [
      "properties:read",
      "properties:write",
      "tasks:read",
      "tasks:write",
      "customers:read",
      "customers:write",
      "bookings:read",
      "shifts:read"
    ]
  },
  "tenant": {
    "package": "standard",
    "variant": "litelog",
    "model": null,
    "model_enforced": true,
    "package_gates": true,
    "legacy_unrestricted": false,
    "features": {
      "live_map": false,
      "dashboards": true,
      "litebill": false,
      "custom_report_templates": true,
      "forms_automation": true,
      "white_label": false,
      "zip_export": true,
      "service_level": false,
      "status_overview": false,
      "customer_tickets": false,
      "customer_material": false,
      "sms_bundle": false,
      "ai_assistant": false,
      "whatsapp_channel": false,
      "public_api": true,
      "mcp_connect": true,
      "esignature": false,
      "planner_automation": true,
      "worktime_models": true,
      "work_orders": true,
      "material_warehouse": true,
      "lv_import": false,
      "ai_customer_compose": false,
      "material_multi_warehouse": false,
      "material_requests": false,
      "lone_worker": false,
      "compliance": false,
      "subcontractor_access": true,
      "sso_advanced": false
    },
    "company_features": {
      "statusgeber_enabled": false,
      "subcontractors_enabled": false,
      "worktime_services_enabled": false,
      "material_enabled": false,
      "service_level_enabled": true,
      "esignature_enabled": false,
      "worktime_confirmation_enabled": false,
      "mcp_enabled": true
    }
  }
}

GET /v1/properties

List properties (filters: search, archived); every row carries the property's uuid and archive_at — archived only turns true once that date is reached (until then the portal shows "wird archiviert am").

Scope: properties:read

Parameters

Name In Type Required Description
page query integer no Default: 1; at least 1.
pageSize query integer no Default: 50; 1 – 100.
search query string no —
archived query boolean no —

Example call

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

Example response (200)

{
  "data": [
    {
      "property_id": 123,
      "uuid": "6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
      "name": "Filiale Nord",
      "region": "BY",
      "street": "Musterstraße",
      "house_number": "1",
      "postal_code": "80331",
      "city": "München",
      "country": "DE",
      "customer_id": 7,
      "archived": false,
      "archive_at": null,
      "created_at": "2026-12-01T08:15:00.000Z",
      "wt_exec_windows_mode": "custom",
      "wt_exec_windows": {
        "weekday": [
          {
            "start": "06:00",
            "end": "10:00"
          },
          {
            "start": "17:00",
            "end": "21:00"
          }
        ],
        "weekend": [
          {
            "start": "06:00",
            "end": "10:00"
          },
          {
            "start": "12:00",
            "end": "14:00"
          },
          {
            "start": "17:00",
            "end": "21:00"
          }
        ]
      }
    },
    {
      "property_id": 124,
      "uuid": "fc22c501-e95d-4836-9f0b-7226b931d1ed",
      "name": "Haus Seeblick — Wohnung 3",
      "region": "SH",
      "street": "Seestraße",
      "house_number": "12",
      "postal_code": "12345",
      "city": "Musterstadt",
      "country": "DE",
      "customer_id": 7,
      "archived": false,
      "archive_at": null,
      "created_at": "2026-12-01T08:20:00.000Z",
      "wt_exec_windows_mode": "off",
      "wt_exec_windows": null
    }
  ],
  "total": 2,
  "page": 1,
  "pageSize": 50
}

POST /v1/properties

Create a property — master data plus any settings in one call, idempotent via a client uuid; settings_from_property_id takes the settings of an existing property as a template.

Scope: properties:write

Parameters

Name In Type Required Description
Idempotency-Key header string (uuid) no Idempotency key as a header (draft-ietf-httpapi-idempotency-key-header), an alternative to the body field uuid. Without uuid in the body the header becomes the uuid (and so the id of the record); a repeated call with the same key and the same body answers 200 with duplicate: true instead of creating twice. The same key with a DIFFERENT body ⇒ 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH (since 22.10.2026; the body fingerprint — SHA-256 of the canonical JSON without the key itself — is stored on create; records created before carry none and replay as before). Header and body uuid that differ ⇒ 422 (path: ["Idempotency-Key"]). Must be a UUID on this endpoint.

Body fields (JSON)

Schema: PropertyCreate

Field Type Required Description
uuid string (uuid) no Idempotency key chosen by the client; becomes the property's uuid and portal URL id. A repeated call with the same key returns the property created first (200, duplicate: true) and ignores differing fields.
settings_from_property_id integer no Copy the settings of a property the key can see as the base (time tracking, verification, signature, patrols, incidents, modules, workdays, timezone, shift defaults). Explicit fields override. Master data, address, coordinates, customer, category and responsible persons are never copied. Invisible or unknown → 404.
name string yes At most 200 characters.
street string or null no At most 200 characters.
house_number string or null no At most 20 characters.
postal_code string or null no At most 20 characters.
city string or null no At most 200 characters.
country string or null no ISO 3166-1 alpha-2 (DE). Known country names (Deutschland, Germany) and lower case are normalised; anything else answers 422.
region string or null no ISO 3166-2 subdivision part (BY for Bavaria), only together with country. With country: DE the public holidays of the region are created automatically for the next years. Changing country or region later replaces the automatically created future public holidays.
customer_id integer or null no Customer of the tenant (404 CUSTOMER_NOT_FOUND otherwise); the customer's portal access is synced to the property as in the portal.
timezone string no IANA name, e.g. Europe/Berlin.
notes string or null no At most 10000 characters.
category_id integer or null no Property category of the tenant (404 CATEGORY_NOT_FOUND otherwise).
responsible_account_ids array (integer) no Responsible persons in rank order — active, non-customer accounts of the tenant (400 RESPONSIBLE_NOT_ASSIGNABLE otherwise). At most 10 items.
workdays array (integer) no Working days, 0 = Sunday … 6 = Saturday. At most 7 items.
show_time boolean no Module time tracking.
show_routes boolean no Module tasks & patrols.
show_incidents boolean no Module incidents & forms.
show_docs boolean no Module documents.
show_chat boolean no Module team chat.
show_material boolean no Module material.
show_status boolean no Module status / proof of life.
show_bookings boolean no Module bookings (vacation rentals).
wt_variant string or null no Default check-in method.
wt_end_variant string or null no Default check-out method.
wt_allowed_checkin_methods array (string) no App-based (button_click, manual, chatbot) and location-based methods (qr_code_static, nfc_scanner_device, nfc_tag) cannot be mixed (422). Values: button_click, qr_code_static, nfc_scanner_device, nfc_tag, manual, chatbot.
wt_allowed_checkout_methods array (string) no Same rule as wt_allowed_checkin_methods. Values: button_click, qr_code_static, nfc_scanner_device, nfc_tag, manual, chatbot.
wt_allow_checkin_exceptions boolean no —
wt_allow_checkout_exceptions boolean no —
wt_force_tracking boolean no GPS tracking during the visit.
web_checkin_enabled boolean no Web check-in without the app (NFC chip / QR code opens a portal page, the person enters their personnel number). Independent of the method lists, which only apply to app users.
web_checkin_pin_required boolean no Web check-in via chip/poster or phone asks for personnel number AND PIN (same PIN as for e-signatures). The tablet at the entrance always asks for the PIN. New properties default to true.
wt_close_at string or null no Auto close at wall-clock time (HH:mm).
wt_close_after_min integer or null no Auto close after n minutes. At least 1.
wt_close_after_basis string no Values: gross, net.
wt_pause_days object or null no Minimum pauses per ISO weekday ('1' = Monday … '7' = Sunday): list of { after_minutes, pause_minutes } thresholds.
wt_max_pause_min number or null no At least 1.
wt_disable_on array (object) or null no Blocked time windows (no check-in), wall clock HH:mm. At most 12 items.
worktime_view_type string or null no —
wt_auto_close_on_next_checkin boolean no —
wt_beacon_threshold_m number or null no 0.1 – 999.
wt_max_visits_per_week integer or null no At least 1.
wt_visit_gap_mode string no Values: off, inherit, custom.
wt_min_visit_gap_minutes integer or null no 1 – 10080.
wt_min_visit_gap_minutes_weekend integer or null no 1 – 10080.
wt_max_visit_gap_minutes integer or null no 1 – 10080.
wt_max_visit_gap_minutes_weekend integer or null no 1 – 10080.
wt_service_from string or null no Service window start; both or none, from < to.
wt_service_to string or null no —
wt_visit_gap_grace_minutes integer no 0 – 240.
visit_gap_rule_id string (uuid) or null no Violation rule for visit gaps; must be a rule of the tenant of type attendance violation (404 unknown, 400 wrong type / not assignable).
wt_exec_windows_mode string no Values: off, inherit, custom.
wt_exec_windows object or null no —
wt_verification string or null no Tamper protection for time tracking. geofencing also sets the location lock of the feature; beacon and none clear it. Values: none, geofencing, beacon, null.
routes_verification string or null no Values: none, geofencing, beacon, null.
incidents_verification string or null no Values: none, geofencing, beacon, null.
forms_verification string or null no Values: none, geofencing, beacon, null.
tasks_verification string or null no Values: none, geofencing, beacon, null.
incidents_esignature string or null no Digital signature on incidents. Values: none, required, null.
forms_esignature string or null no Values: none, required, null.
tasks_esignature string or null no Values: none, required, null.
esignature_allowed_methods array (string) or null no Values: password, nfc, qr, pin.
routes_auto_end_minutes integer no Patrols end automatically after n minutes. Read: the effective value (company default when routes_rules_mode is inherit). 30 – 1440.
routes_allow_photo_fallback boolean no Photo instead of a scan at a checkpoint. Read: the effective value (company default when routes_rules_mode is inherit).
routes_rules_mode string no Patrol rules: inherit = auto-end, photo fallback and patrol location lock follow the company's property defaults; custom = this property's own values. Writing routes_auto_end_minutes or routes_allow_photo_fallback without a mode makes the property custom. Values: inherit, custom.
ai_incident_classification boolean no —
incident_rule_id string (uuid) or null no Incident reaction rule of the tenant (404 unknown, 400 wrong type / not assignable).
proof_type string no Proof of service the customer sees for this property: attendance, tour (patrols), completion (tasks) or protocol (forms). Default by industry (cleaning → completion, security → tour, else attendance). Values: attendance, tour, completion, protocol.
customer_visibility string no What the customer portal shows for the proof: pseudonyms (default), real names, or nothing (the proof module is hidden for this property). Values: pseudonym, names, none.
notification_emails array (string (email)) no Recipients of property notifications. Each address must already exist as a mail recipient of the tenant (422 MAIL_UNKNOWN) — the API does not create recipients. At most 10 items.
shift_defaults object or null no —
location object or null no —

Example call

curl -X POST "https://api.litelog.de/api/v1/properties" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "uuid": "6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
  "name": "Filiale Nord",
  "street": "Musterstraße",
  "house_number": "1",
  "postal_code": "80331",
  "city": "München",
  "country": "DE",
  "region": "BY",
  "customer_id": 7,
  "timezone": "Europe/Berlin",
  "responsible_account_ids": [
    5
  ],
  "workdays": [
    1,
    2,
    3,
    4,
    5
  ],
  "show_time": true,
  "show_routes": true,
  "wt_allowed_checkin_methods": [
    "nfc_tag",
    "qr_code_static"
  ],
  "wt_allowed_checkout_methods": [
    "nfc_tag",
    "qr_code_static"
  ],
  "wt_verification": "geofencing",
  "routes_verification": "geofencing",
  "routes_auto_end_minutes": 120,
  "shift_defaults": {
    "checkin_start_offset_min": 15,
    "checkin_end_offset_min": 15
  },
  "location": {
    "point": [
      48.137154,
      11.576124
    ],
    "area": {
      "type": "Polygon",
      "coordinates": [
        [
          [
            11.575,
            48.136
          ],
          [
            11.577,
            48.136
          ],
          [
            11.577,
            48.138
          ],
          [
            11.575,
            48.138
          ],
          [
            11.575,
            48.136
          ]
        ]
      ]
    }
  }
}'

Example response (201)

{
  "data": {
    "property_id": 123,
    "uuid": "6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
    "name": "Filiale Nord",
    "region": "BY",
    "street": "Musterstraße",
    "house_number": "1",
    "postal_code": "80331",
    "city": "München",
    "country": "DE",
    "customer_id": 7,
    "archived": false,
    "archive_at": null,
    "created_at": "2026-12-01T08:15:00.000Z",
    "wt_exec_windows_mode": "off",
    "wt_exec_windows": null,
    "notes": null,
    "timezone": "Europe/Berlin",
    "category_id": null,
    "category_name": null,
    "location": {
      "point": [
        48.137154,
        11.576124
      ],
      "area": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              11.575,
              48.136
            ],
            [
              11.577,
              48.136
            ],
            [
              11.577,
              48.138
            ],
            [
              11.575,
              48.138
            ],
            [
              11.575,
              48.136
            ]
          ]
        ]
      }
    },
    "responsible_account_ids": [
      5
    ],
    "workdays": [
      1,
      2,
      3,
      4,
      5
    ],
    "notification_emails": [],
    "portal_url": "https://portal.litelog.de/property/6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
    "show_time": true,
    "show_routes": true,
    "wt_allowed_checkin_methods": [
      "nfc_tag",
      "qr_code_static"
    ],
    "wt_allowed_checkout_methods": [
      "nfc_tag",
      "qr_code_static"
    ],
    "wt_verification": "geofencing",
    "routes_verification": "geofencing",
    "routes_auto_end_minutes": 120,
    "routes_rules_mode": "custom"
  },
  "created": true,
  "holidays_created": 39,
  "warnings": []
}

Excerpt: the response carries more fields. The OpenAPI file lists them all.

POST /v1/properties/bulk

Create up to 100 properties in one call — pre-check for all rows, then partial success per row (created, duplicates, failed).

Scope: properties:write

Body fields (JSON)

Field Type Required Description
properties array (object) yes At most 100 items.

Example call

curl -X POST "https://api.litelog.de/api/v1/properties/bulk" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "properties": [
    {
      "uuid": "635eaac9-3f29-49ef-8de7-c554562f6623",
      "name": "Filiale Süd",
      "street": "Beispielweg",
      "house_number": "4",
      "postal_code": "83022",
      "city": "Rosenheim",
      "country": "DE",
      "region": "BY",
      "customer_id": 7,
      "settings_from_property_id": 123
    },
    {
      "uuid": "624bdb54-d290-4c4b-b643-d8a21261ccfb",
      "name": "Filiale West",
      "street": "Musterallee",
      "house_number": "27",
      "postal_code": "86150",
      "city": "Augsburg",
      "country": "DE",
      "region": "BY",
      "customer_id": 7,
      "settings_from_property_id": 123
    }
  ]
}'

Example response (201)

{
  "data": {
    "created": [
      {
        "index": 0,
        "property_id": 125,
        "uuid": "635eaac9-3f29-49ef-8de7-c554562f6623",
        "portal_url": "https://portal.litelog.de/property/635eaac9-3f29-49ef-8de7-c554562f6623"
      },
      {
        "index": 1,
        "property_id": 126,
        "uuid": "624bdb54-d290-4c4b-b643-d8a21261ccfb",
        "portal_url": "https://portal.litelog.de/property/624bdb54-d290-4c4b-b643-d8a21261ccfb"
      }
    ],
    "duplicates": [],
    "failed": [],
    "holidays_created": 78
  }
}

GET /v1/properties/{id}

One property with all of its settings (modules, time tracking, tamper protection, signature, patrols, incident reports, working days, time zone, category, responsible persons, mail recipients, shift defaults, coordinates) and portal_url.

Scope: properties:read

Parameters

Name In Type Required Description
id path integer yes —

Example call

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

Example response (200)

{
  "data": {
    "property_id": 123,
    "uuid": "6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
    "name": "Filiale Nord",
    "region": "BY",
    "street": "Musterstraße",
    "house_number": "1",
    "postal_code": "80331",
    "city": "München",
    "country": "DE",
    "customer_id": 7,
    "archived": false,
    "archive_at": null,
    "created_at": "2026-12-01T08:15:00.000Z",
    "wt_exec_windows_mode": "custom",
    "wt_exec_windows": {
      "weekday": [
        {
          "start": "06:00",
          "end": "10:00"
        }
      ],
      "weekend": [
        {
          "start": "06:00",
          "end": "10:00"
        }
      ]
    },
    "notes": "Schlüssel beim Hausmeister abholen, Zugang über den Hof.",
    "timezone": "Europe/Berlin",
    "category_id": null,
    "category_name": null,
    "location": {
      "point": [
        48.137154
      ],
      "area": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              11.575
            ]
          ]
        ]
      }
    },
    "responsible_account_ids": [
      5
    ],
    "workdays": [
      1
    ],
    "notification_emails": [],
    "shift_defaults": {
      "checkin_start_offset_min": 15,
      "checkin_end_offset_min": 15,
      "checkin_requirement_mode": null,
      "required_checkins": null,
      "checkin_attendance_channels": null,
      "checkout_start_offset_min": null,
      "checkout_end_offset_min": null,
      "checkout_requirement_mode": null,
      "required_checkouts": null,
      "checkout_attendance_channels": null,
      "auto_checkout_enabled": null,
      "auto_checkout_offset_min": null,
      "min_duration_per_visit_minutes": null,
      "min_duration_total_minutes": null,
      "min_duration_grace_minutes": null,
      "instructions": null,
      "checkout_same_as_checkin": null
    },
    "portal_url": "https://portal.litelog.de/property/6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
    "show_time": true,
    "show_routes": true,
    "wt_allowed_checkin_methods": [
      "nfc_tag"
    ],
    "wt_allowed_checkout_methods": [
      "nfc_tag"
    ],
    "wt_verification": "geofencing",
    "routes_verification": "geofencing",
    "routes_auto_end_minutes": 120,
    "routes_rules_mode": "custom"
  }
}

Excerpt: the response carries more fields. The OpenAPI file lists them all.

PATCH /v1/properties/{id}

Update master data and any setting of a property (the same field set as on create); subject to change approval (change_reason → approval_pending).

Scope: properties:write

Parameters

Name In Type Required Description
id path integer yes —

Body fields (JSON)

Schema: PropertyUpdate

Field Type Required Description
name string no At most 200 characters.
street string or null no At most 200 characters.
house_number string or null no At most 20 characters.
postal_code string or null no At most 20 characters.
city string or null no At most 200 characters.
country string or null no ISO 3166-1 alpha-2 or a known country name. Changing country or region replaces the automatically created future public holidays.
region string or null no ISO 3166-2 subdivision part, only together with country. Changing country or region replaces the automatically created future public holidays.
customer_id integer or null no —
change_reason string no Reason for the change approval (alternatively header X-Change-Reason).
timezone string no IANA name, e.g. Europe/Berlin.
notes string or null no At most 10000 characters.
category_id integer or null no Property category of the tenant (404 CATEGORY_NOT_FOUND otherwise).
responsible_account_ids array (integer) no Responsible persons in rank order — active, non-customer accounts of the tenant (400 RESPONSIBLE_NOT_ASSIGNABLE otherwise). At most 10 items.
workdays array (integer) no Working days, 0 = Sunday … 6 = Saturday. At most 7 items.
show_time boolean no Module time tracking.
show_routes boolean no Module tasks & patrols.
show_incidents boolean no Module incidents & forms.
show_docs boolean no Module documents.
show_chat boolean no Module team chat.
show_material boolean no Module material.
show_status boolean no Module status / proof of life.
show_bookings boolean no Module bookings (vacation rentals).
wt_variant string or null no Default check-in method.
wt_end_variant string or null no Default check-out method.
wt_allowed_checkin_methods array (string) no App-based (button_click, manual, chatbot) and location-based methods (qr_code_static, nfc_scanner_device, nfc_tag) cannot be mixed (422). Values: button_click, qr_code_static, nfc_scanner_device, nfc_tag, manual, chatbot.
wt_allowed_checkout_methods array (string) no Same rule as wt_allowed_checkin_methods. Values: button_click, qr_code_static, nfc_scanner_device, nfc_tag, manual, chatbot.
wt_allow_checkin_exceptions boolean no —
wt_allow_checkout_exceptions boolean no —
wt_force_tracking boolean no GPS tracking during the visit.
web_checkin_enabled boolean no Web check-in without the app (NFC chip / QR code opens a portal page, the person enters their personnel number). Independent of the method lists, which only apply to app users.
web_checkin_pin_required boolean no Web check-in via chip/poster or phone asks for personnel number AND PIN (same PIN as for e-signatures). The tablet at the entrance always asks for the PIN. New properties default to true.
wt_close_at string or null no Auto close at wall-clock time (HH:mm).
wt_close_after_min integer or null no Auto close after n minutes. At least 1.
wt_close_after_basis string no Values: gross, net.
wt_pause_days object or null no Minimum pauses per ISO weekday ('1' = Monday … '7' = Sunday): list of { after_minutes, pause_minutes } thresholds.
wt_max_pause_min number or null no At least 1.
wt_disable_on array (object) or null no Blocked time windows (no check-in), wall clock HH:mm. At most 12 items.
worktime_view_type string or null no —
wt_auto_close_on_next_checkin boolean no —
wt_beacon_threshold_m number or null no 0.1 – 999.
wt_max_visits_per_week integer or null no At least 1.
wt_visit_gap_mode string no Values: off, inherit, custom.
wt_min_visit_gap_minutes integer or null no 1 – 10080.
wt_min_visit_gap_minutes_weekend integer or null no 1 – 10080.
wt_max_visit_gap_minutes integer or null no 1 – 10080.
wt_max_visit_gap_minutes_weekend integer or null no 1 – 10080.
wt_service_from string or null no Service window start; both or none, from < to.
wt_service_to string or null no —
wt_visit_gap_grace_minutes integer no 0 – 240.
visit_gap_rule_id string (uuid) or null no Violation rule for visit gaps; must be a rule of the tenant of type attendance violation (404 unknown, 400 wrong type / not assignable).
wt_exec_windows_mode string no Values: off, inherit, custom.
wt_exec_windows object or null no —
wt_verification string or null no Tamper protection for time tracking. geofencing also sets the location lock of the feature; beacon and none clear it. Values: none, geofencing, beacon, null.
routes_verification string or null no Values: none, geofencing, beacon, null.
incidents_verification string or null no Values: none, geofencing, beacon, null.
forms_verification string or null no Values: none, geofencing, beacon, null.
tasks_verification string or null no Values: none, geofencing, beacon, null.
incidents_esignature string or null no Digital signature on incidents. Values: none, required, null.
forms_esignature string or null no Values: none, required, null.
tasks_esignature string or null no Values: none, required, null.
esignature_allowed_methods array (string) or null no Values: password, nfc, qr, pin.
routes_auto_end_minutes integer no Patrols end automatically after n minutes. Read: the effective value (company default when routes_rules_mode is inherit). 30 – 1440.
routes_allow_photo_fallback boolean no Photo instead of a scan at a checkpoint. Read: the effective value (company default when routes_rules_mode is inherit).
routes_rules_mode string no Patrol rules: inherit = auto-end, photo fallback and patrol location lock follow the company's property defaults; custom = this property's own values. Writing routes_auto_end_minutes or routes_allow_photo_fallback without a mode makes the property custom. Values: inherit, custom.
ai_incident_classification boolean no —
incident_rule_id string (uuid) or null no Incident reaction rule of the tenant (404 unknown, 400 wrong type / not assignable).
proof_type string no Proof of service the customer sees for this property: attendance, tour (patrols), completion (tasks) or protocol (forms). Default by industry (cleaning → completion, security → tour, else attendance). Values: attendance, tour, completion, protocol.
customer_visibility string no What the customer portal shows for the proof: pseudonyms (default), real names, or nothing (the proof module is hidden for this property). Values: pseudonym, names, none.
notification_emails array (string (email)) no Recipients of property notifications. Each address must already exist as a mail recipient of the tenant (422 MAIL_UNKNOWN) — the API does not create recipients. At most 10 items.
shift_defaults object or null no —
location object or null no —

Example call

curl -X PATCH "https://api.litelog.de/api/v1/properties/123" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "notes": "Schlüssel beim Hausmeister abholen, Zugang über den Hof.",
  "wt_exec_windows_mode": "custom",
  "wt_exec_windows": {
    "weekday": [
      {
        "start": "06:00",
        "end": "10:00"
      },
      {
        "start": "17:00",
        "end": "21:00"
      }
    ],
    "weekend": [
      {
        "start": "06:00",
        "end": "10:00"
      },
      {
        "start": "12:00",
        "end": "14:00"
      },
      {
        "start": "17:00",
        "end": "21:00"
      }
    ]
  },
  "change_reason": "Ausführungszeiträume laut Leistungsverzeichnis hinterlegt"
}'

Example response (200)

{
  "data": {
    "property_id": 123,
    "uuid": "6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f",
    "name": "Filiale Nord",
    "region": "BY",
    "street": "Musterstraße",
    "house_number": "1",
    "postal_code": "80331",
    "city": "München",
    "country": "DE",
    "customer_id": 7,
    "archived": false,
    "archive_at": null,
    "created_at": "2026-12-01T08:15:00.000Z",
    "wt_exec_windows_mode": "custom",
    "wt_exec_windows": {
      "weekday": [
        {
          "start": "06:00",
          "end": "10:00"
        },
        {
          "start": "17:00",
          "end": "21:00"
        }
      ],
      "weekend": [
        {
          "start": "06:00",
          "end": "10:00"
        },
        {
          "start": "12:00",
          "end": "14:00"
        },
        {
          "start": "17:00",
          "end": "21:00"
        }
      ]
    },
    "notes": "Schlüssel beim Hausmeister abholen, Zugang über den Hof.",
    "timezone": "Europe/Berlin",
    "portal_url": "https://portal.litelog.de/property/6f1c2a0e-3b7d-4c8e-9f10-2a3b4c5d6e7f"
  },
  "warnings": []
}

Excerpt: the response carries more fields. The OpenAPI file lists them all.

POST /v1/properties/{id}/worktime-chip

Bind an NFC chip to the property's work-time point without a scan: source chip_id or from_tag_id (chip UID of a point, archived or not); no work-time point → 404 WORKTIME_TAG_MISSING, several → the newest with multiple: true.

Scope: properties:write

Parameters

Name In Type Required Description
id path integer yes —

Body fields (JSON)

Schema: ChipSource

Field Type Required Description
chip_id string no NFC chip UID. Normalized to the form the app scans — hex, upper case, no separators (de:ad:be:ef → DEADBEEF); anything that is not an 8–32 character hex UID after normalization answers 422. At most 100 characters.
from_tag_id integer no Source tag (control point or work-time tag, may be archived) whose chip UID is moved. At least 1.
overwrite boolean no Also move a chip that a third tag or account still holds. Default: false.

Example call

curl -X POST "https://api.litelog.de/api/v1/properties/123/worktime-chip" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -d '{
  "from_tag_id": 4575
}'

Example response (200)

{
  "data": {
    "property_id": 123,
    "target_tag_id": 4580,
    "chip_connected": true
  }
}

POST /v1/properties/{id}/copy

Copy a property. Always copied: master data (name with "(Kopie)", address, customer, category, notes, responsible persons, location and area) and every setting; any field of the body wins against the original (customer_id copies to another customer). On request (include): control points, patrol routes (need control_points), recurring tasks and staff assignments; start_date is required as soon as routes or tasks come along. Never copied: NFC chip and QR code (a copied control point has no chip and a new uuid), history, runs, completions, time entries, incidents, customer accesses. The original is only read.

The key needs the same rights as for creating and, per part, the right to create that part (otherwise 403 COPY_PART_NOT_PERMITTED, nothing written). Where the company requires a change reason, routes and account_assignments need it (422 CHANGE_REASON_REQUIRED, nothing written). Under copy the answer tells per part what was copied, skipped or refused, with the reason per entry in copy.issues[]. With the same Idempotency-Key the repeat answers 200 with duplicate: true and copy: null: it creates no second property and copies no missing parts. Foreign or hidden property: 404.

Scope: properties:write

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

Parameters

Name In Type Required Description
id path integer yes The property to copy.
Idempotency-Key header string (uuid) no Idempotency key as a header (draft-ietf-httpapi-idempotency-key-header), an alternative to the body field uuid. Without uuid in the body the header becomes the uuid (and so the id of the record); a repeated call with the same key and the same body answers 200 with duplicate: true instead of creating twice. The same key with a DIFFERENT body ⇒ 422 IDEMPOTENCY_KEY_PAYLOAD_MISMATCH (since 22.10.2026; the body fingerprint — SHA-256 of the canonical JSON without the key itself — is stored on create; records created before carry none and replay as before). Header and body uuid that differ ⇒ 422 (path: ["Idempotency-Key"]). Must be a UUID on this endpoint.

Body fields (JSON)

Schema: PropertyCopy

Field Type Required Description
uuid string (uuid) no Idempotency key (alternatively header Idempotency-Key); becomes the uuid of the copy.
name string no Default: name of the original with "(Kopie)", shortened to 200 characters. At most 200 characters.
customer_id integer or null no Default: the customer of the original. Another customer of the company copies the property to that customer.
include object no What comes along besides master data and settings, true or false per part: control_points, routes (needs control_points and start_date), recurring_tasks (needs start_date), account_assignments. Default: nothing.
start_date string (date) no Day from which copied routes and task series run (YYYY-MM-DD, not in the past).
street string or null no At most 200 characters.
house_number string or null no At most 20 characters.
postal_code string or null no At most 20 characters.
city string or null no At most 200 characters.
country string or null no ISO 3166-1 alpha-2 or a known country name. Changing country or region replaces the automatically created future public holidays.
region string or null no ISO 3166-2 subdivision part, only together with country. Changing country or region replaces the automatically created future public holidays.
change_reason string no Reason for the change approval (alternatively header X-Change-Reason).
timezone string no IANA name, e.g. Europe/Berlin.
notes string or null no At most 10000 characters.
category_id integer or null no Property category of the tenant (404 CATEGORY_NOT_FOUND otherwise).
responsible_account_ids array (integer) no Responsible persons in rank order — active, non-customer accounts of the tenant (400 RESPONSIBLE_NOT_ASSIGNABLE otherwise). At most 10 items.
workdays array (integer) no Working days, 0 = Sunday … 6 = Saturday. At most 7 items.
show_time boolean no Module time tracking.
show_routes boolean no Module tasks & patrols.
show_incidents boolean no Module incidents & forms.
show_docs boolean no Module documents.
show_chat boolean no Module team chat.
show_material boolean no Module material.
show_status boolean no Module status / proof of life.
show_bookings boolean no Module bookings (vacation rentals).
wt_variant string or null no Default check-in method.
wt_end_variant string or null no Default check-out method.
wt_allowed_checkin_methods array (string) no App-based (button_click, manual, chatbot) and location-based methods (qr_code_static, nfc_scanner_device, nfc_tag) cannot be mixed (422). Values: button_click, qr_code_static, nfc_scanner_device, nfc_tag, manual, chatbot.
wt_allowed_checkout_methods array (string) no Same rule as wt_allowed_checkin_methods. Values: button_click, qr_code_static, nfc_scanner_device, nfc_tag, manual, chatbot.
wt_allow_checkin_exceptions boolean no —
wt_allow_checkout_exceptions boolean no —
wt_force_tracking boolean no GPS tracking during the visit.
web_checkin_enabled boolean no Web check-in without the app (NFC chip / QR code opens a portal page, the person enters their personnel number). Independent of the method lists, which only apply to app users.
web_checkin_pin_required boolean no Web check-in via chip/poster or phone asks for personnel number AND PIN (same PIN as for e-signatures). The tablet at the entrance always asks for the PIN. New properties default to true.
wt_close_at string or null no Auto close at wall-clock time (HH:mm).
wt_close_after_min integer or null no Auto close after n minutes. At least 1.
wt_close_after_basis string no Values: gross, net.
wt_pause_days object or null no Minimum pauses per ISO weekday ('1' = Monday … '7' = Sunday): list of { after_minutes, pause_minutes } thresholds.
wt_max_pause_min number or null no At least 1.
wt_disable_on array (object) or null no Blocked time windows (no check-in), wall clock HH:mm. At most 12 items.
worktime_view_type string or null no —
wt_auto_close_on_next_checkin boolean no —
wt_beacon_threshold_m number or null no 0.1 – 999.
wt_max_visits_per_week integer or null no At least 1.
wt_visit_gap_mode string no Values: off, inherit, custom.
wt_min_visit_gap_minutes integer or null no 1 – 10080.
wt_min_visit_gap_minutes_weekend integer or null no 1 – 10080.
wt_max_visit_gap_minutes integer or null no 1 – 10080.
wt_max_visit_gap_minutes_weekend integer or null no 1 – 10080.
wt_service_from string or null no Service window start; both or none, from < to.
wt_service_to string or null no —
wt_visit_gap_grace_minutes integer no 0 – 240.
visit_gap_rule_id string (uuid) or null no Violation rule for visit gaps; must be a rule of the tenant of type attendance violation (404 unknown, 400 wrong type / not assignable).
wt_exec_windows_mode string no Values: off, inherit, custom.
wt_exec_windows object or null no —
wt_verification string or null no Tamper protection for time tracking. geofencing also sets the location lock of the feature; beacon and none clear it. Values: none, geofencing, beacon, null.
routes_verification string or null no Values: none, geofencing, beacon, null.
incidents_verification string or null no Values: none, geofencing, beacon, null.
forms_verification string or null no Values: none, geofencing, beacon, null.
tasks_verification string or null no Values: none, geofencing, beacon, null.
incidents_esignature string or null no Digital signature on incidents. Values: none, required, null.
forms_esignature string or null no Values: none, required, null.
tasks_esignature string or null no Values: none, required, null.
esignature_allowed_methods array (string) or null no Values: password, nfc, qr, pin.
routes_auto_end_minutes integer no Patrols end automatically after n minutes. Read: the effective value (company default when routes_rules_mode is inherit). 30 – 1440.
routes_allow_photo_fallback boolean no Photo instead of a scan at a checkpoint. Read: the effective value (company default when routes_rules_mode is inherit).
routes_rules_mode string no Patrol rules: inherit = auto-end, photo fallback and patrol location lock follow the company's property defaults; custom = this property's own values. Writing routes_auto_end_minutes or routes_allow_photo_fallback without a mode makes the property custom. Values: inherit, custom.
ai_incident_classification boolean no —
incident_rule_id string (uuid) or null no Incident reaction rule of the tenant (404 unknown, 400 wrong type / not assignable).
proof_type string no Proof of service the customer sees for this property: attendance, tour (patrols), completion (tasks) or protocol (forms). Default by industry (cleaning → completion, security → tour, else attendance). Values: attendance, tour, completion, protocol.
customer_visibility string no What the customer portal shows for the proof: pseudonyms (default), real names, or nothing (the proof module is hidden for this property). Values: pseudonym, names, none.
notification_emails array (string (email)) no Recipients of property notifications. Each address must already exist as a mail recipient of the tenant (422 MAIL_UNKNOWN) — the API does not create recipients. At most 10 items.
shift_defaults object or null no —
location object or null no —

Example call

curl -X POST "https://api.litelog.de/api/v1/properties/123/copy" \
  -H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: 0b9f6a52-7d1e-4c3a-9a55-1f2e3d4c5b6a" \
  -d '{
  "name": "Filiale Süd",
  "include": {
    "control_points": true,
    "routes": true,
    "recurring_tasks": true
  },
  "start_date": "2026-12-07"
}'

Example response (201)

{
  "data": {
    "property_id": 131,
    "uuid": "0b9f6a52-7d1e-4c3a-9a55-1f2e3d4c5b6a",
    "name": "Filiale Süd"
  },
  "created": true,
  "holidays_created": 0,
  "warnings": [],
  "copy": {
    "control_points": {
      "copied": 12,
      "skipped": 0,
      "failed": 0
    },
    "routes": {
      "copied": 2,
      "skipped": 0,
      "failed": 0,
      "approval_pending": 0
    },
    "recurring_tasks": {
      "copied": 5,
      "skipped": 1,
      "failed": 0
    },
    "account_assignments": null,
    "issues": [
      {
        "part": "recurring_tasks",
        "name": "Winterdienst",
        "code": "TASK_SERIES_ENDED",
        "message": "the series ends before start_date"
      }
    ]
  }
}