Add Staff to Biometric Device
Adds 1 to 50 staff to a biometric device, as Add Staff to Device does in the app. Shared rules: see Writing data.
For each staff member this gives them a biometric user id if they have none, pushes them to the device and turns on biometric attendance for them.
- Staff are sent to the device one by one, so a 50-staff request can take a while.
- Once the request is valid it always returns
200;resultsays what happened to each staff member. If any entry is invalid, nothing is added and you get400. added: done. Staff already on the device can be sent again; they come back asadded(pushed again).failed: the device did not accept them, for example because it is offline. Retry later; retrying is safe.manual_add_needed: this device model can’t take staff from SalaryBox. Add the person on the device by hand usingbiometric_employee_id.not_attempted: this staff member wasn’t reached in this request. Nothing was changed for them. Send them again in a new request.- Tip: for big lists, or when devices are slow, send smaller batches.
- Removing staff from a device is not available through the API; use the SalaryBox app.
- Older plans without an active subscription get
403“No active plan. Purchase a plan to add staff to the biometric device.”
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Query parameters
serial_number
The device’s serial_number from List Biometric Devices.
Request
This endpoint expects an object.
staff
Staff to add (1 to 50, no duplicates).
Response
The request was processed. Check result for each staff member.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
