Record a scanner hardware check for a station and update its last known hardware state
POST
/v1/stations/{id}/hardware-checkAuth: Factory API key
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | · |
Request body
| Field | Type | Description |
|---|---|---|
scanner_label | string | · |
input_moderequired | string | · one of: "keyboard", "camera", "android_intent" |
suffixrequired | string | · one of: "enter", "tab", "none" |
avg_char_ms | number | · |
code128_ok | boolean | · |
qr_ok | boolean | · |
layout_ok | boolean | · |
passedrequired | boolean | · |
notes | string | · |
Response
200
Code samples
curl -X POST "https://api.skuflo.io/v1/stations/id_9c1a4e/hardware-check" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"input_mode": "keyboard",
"suffix": "enter",
"passed": true,
"scanner_label": "Honeywell 1900",
"avg_char_ms": 42,
"code128_ok": true,
"qr_ok": true,
"layout_ok": true
}'