REST API: Control points
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/control-points |
List control points (scan points) of the tenant | control_points:read |
POST /v1/control-points |
Create a control point | control_points:write |
GET /v1/control-points/{id} |
Get a control point | control_points:read |
PATCH /v1/control-points/{id} |
Edit a control point | control_points:write |
POST /v1/control-points/{id}/archive |
Archive a control point (soft delete) | control_points:write |
POST /v1/control-points/{id}/unarchive |
Restore an archived control point | control_points:write |
POST /v1/control-points/{id}/chip |
Bind an NFC chip to the control point | control_points:write |
GET /v1/control-point-areas |
List the areas of a property (groups of control points) | control_points:read |
POST /v1/control-point-areas |
Create an area at a property | control_points:write |
PATCH /v1/control-point-areas/{id} |
Rename an area | control_points:write |
GET /v1/control-points
List control points (filters: property_id, area_id, archived, search) — scan points only, no work-time points and no zones; every row carries last_scan_at and scans_30d (scans of the last 30 days from planned and free patrols, without archived free patrols).
Scope: control_points:read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page |
query | integer | no | Default: 1; at least 1. |
pageSize |
query | integer | no | Default: 50; 1 – 100. |
property_id |
query | integer | no | — |
area_id |
query | integer | no | — |
archived |
query | boolean | no | — |
search |
query | string | no | Case-insensitive substring match on the name. |
Example call
curl "https://api.litelog.de/api/v1/control-points?property_id=123&archived=false" \
-H "X-Api-Key: $KEY"
Example response (200)
{
"data": [
{
"tag_id": 501,
"uuid": "3f2b8c1e-7a4d-4e9b-9c35-1d6f0a8b2e47",
"name": "Haupteingang",
"tag_type": "CHECKPOINT",
"property_id": 123,
"archived": false,
"notes_user": "Tür und Schließzylinder prüfen.",
"notes_intern": null,
"area_id": 31,
"area_name": "Erdgeschoss",
"sort_order": 0,
"latitude": 48.137154,
"longitude": 11.576124,
"gps_radius_m": null,
"chip_connected": true,
"chip_missing": false,
"web_link": false,
"chip_id": "04A1B2C3D4E5F6",
"task_ids": [
4711
],
"task_uuids": [
"d2c7a9e0-64b1-4c3f-b8a5-0f1e2d3c4b5a"
],
"plan_pin": null,
"created_at": "2026-11-24T09:12:44.318Z",
"updated_at": "2026-12-01T07:45:10.902Z",
"last_scan_at": "2026-12-02T21:04:18.000Z",
"scans_30d": 2
},
{
"tag_id": 502,
"uuid": "b81d4f60-2c3e-4a7f-8d19-5e0c9a7b3f12",
"name": "Technikraum UG",
"tag_type": "CHECKPOINT",
"property_id": 123,
"archived": false,
"notes_user": "Tür nach der Kontrolle wieder verschließen.",
"notes_intern": null,
"area_id": 32,
"area_name": "Untergeschoss",
"sort_order": null,
"latitude": null,
"longitude": null,
"gps_radius_m": null,
"chip_connected": false,
"chip_missing": false,
"web_link": false,
"chip_id": null,
"task_ids": [],
"task_uuids": [],
"plan_pin": null,
"created_at": "2026-11-30T10:05:21.734Z",
"updated_at": "2026-11-30T10:05:21.734Z",
"last_scan_at": "2026-12-01T21:14:09.000Z",
"scans_30d": 1
}
],
"total": 2,
"page": 1,
"pageSize": 50
}
POST /v1/control-points
Create a control point (name, property, area, GPS coordinates and radius, linked tasks task_uuids); the response carries the uuid for the QR code {"uuid": "…"}.
Scope: control_points: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 |
|---|---|---|---|
property_id |
integer | yes | — |
name |
string | yes | At most 100 characters. |
tag_type |
string | no | Values: CHECKPOINT, TASK_POINT; Default: CHECKPOINT. |
notes_user |
string or null | no | At most 300 characters. |
notes_intern |
string or null | no | At most 300 characters. |
area_id |
integer or null | no | — |
sort_order |
integer or null | no | 0 – 10000. |
latitude |
number or null | no | — |
longitude |
number or null | no | — |
gps_radius_m |
number or null | no | 20 – 1000. |
task_uuids |
array (string (uuid)) | no | At most 50 items. |
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/control-points" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"property_id": 123,
"name": "Technikraum UG",
"tag_type": "CHECKPOINT",
"area_id": 32,
"notes_user": "Tür nach der Kontrolle wieder verschließen."
}'
Example response (201)
{
"data": {
"tag_id": 502,
"uuid": "b81d4f60-2c3e-4a7f-8d19-5e0c9a7b3f12",
"name": "Technikraum UG",
"tag_type": "CHECKPOINT",
"property_id": 123,
"archived": false,
"notes_user": "Tür nach der Kontrolle wieder verschließen.",
"notes_intern": null,
"area_id": 32,
"area_name": "Untergeschoss",
"sort_order": null,
"latitude": null,
"longitude": null,
"gps_radius_m": null,
"chip_connected": false,
"chip_missing": false,
"web_link": false,
"chip_id": null,
"task_ids": [],
"task_uuids": [],
"plan_pin": null,
"created_at": "2026-11-30T10:05:21.734Z",
"updated_at": "2026-11-30T10:05:21.734Z"
}
}
GET /v1/control-points/{id}
Get a control point.
Read or edit a point — task_uuids replaces the point's complete task set.
Scope: control_points:read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | integer | yes | — |
Example call
curl "https://api.litelog.de/api/v1/control-points/501" \
-H "X-Api-Key: $KEY"
Example response (200)
{
"data": {
"tag_id": 501,
"uuid": "3f2b8c1e-7a4d-4e9b-9c35-1d6f0a8b2e47",
"name": "Haupteingang",
"tag_type": "CHECKPOINT",
"property_id": 123,
"archived": false,
"notes_user": "Tür und Schließzylinder prüfen.",
"notes_intern": null,
"area_id": 31,
"area_name": "Erdgeschoss",
"sort_order": 0,
"latitude": 48.137154,
"longitude": 11.576124,
"gps_radius_m": null,
"chip_connected": true,
"chip_missing": false,
"web_link": false,
"chip_id": "04A1B2C3D4E5F6",
"task_ids": [
4711
],
"task_uuids": [
"d2c7a9e0-64b1-4c3f-b8a5-0f1e2d3c4b5a"
],
"plan_pin": null,
"created_at": "2026-11-24T09:12:44.318Z",
"updated_at": "2026-12-01T07:45:10.902Z"
}
}
PATCH /v1/control-points/{id}
Edit a control point.
Read or edit a point — task_uuids replaces the point's complete task set.
Scope: control_points: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 | no | At most 100 characters. |
tag_type |
string | no | Values: CHECKPOINT, TASK_POINT. |
notes_user |
string or null | no | At most 300 characters. |
notes_intern |
string or null | no | At most 300 characters. |
area_id |
integer or null | no | — |
sort_order |
integer or null | no | Position within the area (0 = first); null = unsorted. Changing area_id without sort_order resets it. 0 – 10000. |
latitude |
number or null | no | — |
longitude |
number or null | no | — |
gps_radius_m |
number or null | no | 20 – 1000. |
task_uuids |
array (string (uuid)) | no | At most 50 items. |
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/control-points/502" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"notes_user": "Tür nach der Kontrolle wieder verschließen. Schlüssel Nr. 12.",
"sort_order": 0,
"change_reason": "Hinweis zum Schlüssel ergänzt"
}'
Example response (200)
{
"data": {
"tag_id": 502,
"uuid": "b81d4f60-2c3e-4a7f-8d19-5e0c9a7b3f12",
"name": "Technikraum UG",
"tag_type": "CHECKPOINT",
"property_id": 123,
"archived": false,
"notes_user": "Tür nach der Kontrolle wieder verschließen. Schlüssel Nr. 12.",
"notes_intern": null,
"area_id": 32,
"area_name": "Untergeschoss",
"sort_order": 0,
"latitude": null,
"longitude": null,
"gps_radius_m": null,
"chip_connected": false,
"chip_missing": false,
"web_link": false,
"chip_id": null,
"task_ids": [],
"task_uuids": [],
"plan_pin": null,
"created_at": "2026-11-30T10:05:21.734Z",
"updated_at": "2026-12-01T07:50:36.120Z"
}
}
POST /v1/control-points/{id}/archive
Archive a control point (soft delete).
Archive a point (recycle bin, the chip is released) or restore it — there is no hard delete.
Scope: control_points: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/control-points/503/archive" \
-H "X-Api-Key: $KEY"
Example response (200)
{
"data": {
"tag_id": 503,
"uuid": "6c0e9d2a-1f58-4b3c-a7e4-92d1b0f5c836",
"name": "Wohnungstür",
"tag_type": "CHECKPOINT",
"property_id": 124,
"archived": true,
"notes_user": null,
"notes_intern": null,
"area_id": null,
"area_name": null,
"sort_order": null,
"latitude": null,
"longitude": null,
"gps_radius_m": null,
"chip_connected": false,
"chip_missing": false,
"web_link": false,
"chip_id": null,
"task_ids": [],
"task_uuids": [],
"plan_pin": null,
"created_at": "2026-11-24T09:40:02.115Z",
"updated_at": "2026-12-03T08:20:31.447Z"
}
}
POST /v1/control-points/{id}/unarchive
Restore an archived control point.
Archive a point (recycle bin, the chip is released) or restore it — there is no hard delete.
Scope: control_points: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/control-points/503/unarchive" \
-H "X-Api-Key: $KEY"
Example response (200)
{
"data": {
"tag_id": 503,
"uuid": "6c0e9d2a-1f58-4b3c-a7e4-92d1b0f5c836",
"name": "Wohnungstür",
"tag_type": "CHECKPOINT",
"property_id": 124,
"archived": false,
"notes_user": null,
"notes_intern": null,
"area_id": null,
"area_name": null,
"sort_order": null,
"latitude": null,
"longitude": null,
"gps_radius_m": null,
"chip_connected": false,
"chip_missing": false,
"web_link": false,
"chip_id": null,
"task_ids": [],
"task_uuids": [],
"plan_pin": null,
"created_at": "2026-11-24T09:40:02.115Z",
"updated_at": "2026-12-04T09:02:15.380Z"
}
}
POST /v1/control-points/{id}/chip
Bind an NFC chip — the source is either the scanned chip_id or from_tag_id (move a chip without a scan: the chip UID is taken from the source point, after its archiving from the configuration audit); a chip held by a third point or account is only moved with overwrite: true (409 CHIP_IN_USE), and so is a point that already holds a different chip (409 CHIP_ALREADY_BOUND). chip_id is normalized to the form the app scans — hex, upper case, no separators (de:ad:be:ef → DEADBEEF) — and checked (8–32 hex characters, else 422); GET /v1/control-points returns the bound UID as chip_id.
Scope: control_points: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)
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/control-points/501/chip" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"chip_id": "04A1B2C3D4E5F6",
"overwrite": false
}'
Example response (200)
{
"data": {
"tag_id": 501,
"uuid": "3f2b8c1e-7a4d-4e9b-9c35-1d6f0a8b2e47",
"name": "Haupteingang",
"tag_type": "CHECKPOINT",
"property_id": 123,
"archived": false,
"notes_user": "Tür und Schließzylinder prüfen.",
"notes_intern": null,
"area_id": 31,
"area_name": "Erdgeschoss",
"sort_order": 0,
"latitude": 48.137154,
"longitude": 11.576124,
"gps_radius_m": null,
"chip_connected": true,
"chip_missing": false,
"web_link": false,
"chip_id": "04A1B2C3D4E5F6",
"task_ids": [
4711
],
"task_uuids": [
"d2c7a9e0-64b1-4c3f-b8a5-0f1e2d3c4b5a"
],
"plan_pin": null,
"created_at": "2026-11-24T09:12:44.318Z",
"updated_at": "2026-12-01T07:45:10.902Z"
}
}
GET /v1/control-point-areas
List the areas (floor, building section, zone) of a property in the portal's order; each row carries control_points_count (active points in the area) — no pagination.
Scope: control_points:read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
property_id |
query | integer | yes | — |
Example call
curl "https://api.litelog.de/api/v1/control-point-areas?property_id=123" \
-H "X-Api-Key: $KEY"
Example response (200)
{
"data": [
{
"area_id": 31,
"property_id": 123,
"name": "Erdgeschoss",
"sort_order": 0,
"control_points_count": 1
},
{
"area_id": 32,
"property_id": 123,
"name": "Untergeschoss",
"sort_order": 1,
"control_points_count": 1
}
]
}
POST /v1/control-point-areas
Create an area (property_id, name; the name is unique per property → 409, TAG_AREA_NAME_DUPLICATE); points are assigned through area_id on POST/PATCH /v1/control-points.
Scope: control_points: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 |
|---|---|---|---|
property_id |
integer | yes | — |
name |
string | yes | At most 100 characters. |
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/control-point-areas" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"property_id": 123,
"name": "1. Obergeschoss"
}'
Example response (201)
{
"data": {
"area_id": 33,
"property_id": 123,
"name": "1. Obergeschoss",
"sort_order": 2,
"control_points_count": 0
}
}
PATCH /v1/control-point-areas/{id}
Rename an area — reordering and deleting stay in the portal.
Scope: control_points: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 100 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/control-point-areas/33" \
-H "X-Api-Key: $KEY" -H "Content-Type: application/json" \
-d '{
"name": "Obergeschoss",
"change_reason": "Bezeichnung an den Gebäudeplan angepasst"
}'
Example response (200)
{
"data": {
"area_id": 33,
"property_id": 123,
"name": "Obergeschoss",
"sort_order": 2,
"control_points_count": 0
}
}
