Skip to navigation

List Staff Attendance Settings

Returns each staff member’s attendance settings: time zone, whether they can see their own attendance, how they may mark attendance (smartphone modes and biometric devices), and the rules that turn punches into a daily status. Values are the ones SalaryBox applies, including defaults where nothing was saved.

Automation rules

  • auto_present: marked present every working day, even without punching.
  • present_on_punch_in: marked present on punch-in.
  • half_day_on_late_by_duration_seconds: half day when the first punch-in is at least this late.
  • half_day_on_duration_seconds: half day after working at least this long.
  • present_on_duration_seconds: present after working at least this long. This is also the minimum hours used for overtime.

Later rules in this list override earlier ones. If your plan does not include attendance automation, everyone gets the defaults (present_on_punch_in true, the rest off). If your plan includes it but a staff member has no rules saved, the company-wide attendance settings apply.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Query parameters

salarybox_idslist of stringsOptional

Repeatable. Limits the result to these staff members, for example salarybox_ids=SBK7Q2M9TX&salarybox_ids=SBK3H8D1LP.

branch_nameslist of stringsOptional

Repeatable. Exact branch names (case-sensitive).

department_nameslist of stringsOptional

Repeatable. Exact department names (case-sensitive).

pageintegerOptional
Page number, starting at 1.
page_sizeintegerOptional
Results per page. Default and maximum 500.

Response

One entry per matching staff member on this page.
messagestring
statusboolean
datalist of objects
countinteger
Total number of matching staff members across all pages.
prevstring or null

URL of the previous page, or null on the first page.

nextstring or null

URL of the next page, or null on the last page.

Errors

404
Not Found Error