Archive or restore a time-punch
Archive a time-punch, for instance one sent by mistake, or restore an archived one.
Archived time-punches are no longer taken into account to compute worked time, but remain visible in the history. The API key must have the “Edit time-punches” permission on the employee.
Headers
API key. Value must be formatted like so: lucca application={api_key}.
Path Parameters
Unique identifier of the time-punch.
Body
true to archive the time-punch, false to restore it.
Response
OK
A clock-in or clock-out of an employee.
Unique identifier of the time-punch.
"93874"
"time-punch""https://example.ilucca.net/timmi-timesheet/api/time-punches/93874"
The employee who clocked in or out.
The date and time when the employee clocked in or out, with the offset of the time zone of the employee's establishment. For a time-punch created with an API key, it is the clientWalledTime sent, resolved in that time zone.
"2026-10-22T08:04:23+02:00"
Whether the time-punch is a clock-in (in) or a clock-out (out).
in, out The system the time-punch came from:
integration: a punch clock integrated with an API key, such as your own.desktop: Lucca virtual punch clock, from a web browser.mobileApp: Lucca virtual punch clock, from the mobile app.lucca: a Lucca punch clock.
integration, desktop, mobileApp, lucca Whether the time-punch was entered by hand rather than produced by a punch clock.
Whether the time-punch is archived. Archived time-punches are no longer taken into account to compute worked time.
Date and time the time-punch was created in Lucca, with offset.
"2026-10-22T06:04:25.1234567+00:00"