Update Staff Attendance Settings
Applies the same attendance settings to every staff member in salarybox_ids (1 to 50). Settings you don’t send stay as they are. Shared rules: see Writing data.
automation_rules needs a plan with Attendance Automation Rules, otherwise 403.
- Send at least one of
timezone,can_view_own_attendance,attendance_modesorautomation_rules. Anything you leave out keeps its current value, including insidesmartphoneandautomation_rules. - All or nothing: if any staff member is refused (unknown or inactive), nothing is saved.
- Biometric and face recognition cannot be set here. Biometric comes from biometric device mapping, and face recognition from face enrolment in the SalaryBox app.
face_recognitionstill appears in the response when the staff member has enrolled. - To see current values first, use List Staff Attendance Settings.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
salarybox_ids
The staff members to change (1 to 50, each listed once).
timezone
IANA time zone name.
can_view_own_attendance
Whether the staff member can see their own attendance in the app.
attendance_modes
How staff may mark attendance. Only smartphone can be set here.
automation_rules
Rules that turn punches into a daily status. Send at least one rule. Needs a plan with Attendance Automation Rules.
Response
The settings were saved. One entry per staff member, in the same shape as List Staff Attendance Settings.
message
status
data
One entry per staff member, in the same shape as List Staff Attendance Settings. Not paginated.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
