Performs an automatic clock-in if no open work entry exists, or clock-out if there’s an open work entry. When closing with withIncidence: true, creates an incidence alert for the employee (useful for entries open from previous days).
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
Clock request data
The employee's unique identifier
Entry data (coordinates)
Work check type ID (only applies to clock-in). Must be assigned to the employee.
Work break ID for pause entries (only applies to clock-in)
If true and a clock-out is performed, creates an incidence of type 'closed_api'. The employee will be notified about this incidence. Useful for closing entries that were open from previous days.