API Reference
API Reference

/time-tracking/employees/:id/time-entries/:uuid

Archives a time entry for the specified employee (soft-delete). Required scope: w_time_tracking.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

This endpoint uses the w_time_tracking scope, which must be enabled through the Integrations section found within the Settings menu.

This endpoint supports both user tokens and account tokens.

The entry is archived (soft-deleted) rather than permanently removed. Returns 204 No Content on success.

Token behaviour

User tokens — can only archive time entries belonging to their own employee record.

Account tokens — can archive any employee's time entries within their account.

Active clock-in entries

Archiving an active clock-in entry (type Clock with no clock_out_time) that is newer than 5.5 minutes will automatically clear the employee's active clock.

Active clock-in entries older than 5.5 minutes cannot be archived and will return a 422 with code timeEntry.archivalTooLate.

Ergani clock entries

Ergani clock entries cannot be archived (returns 403).

Error responses

StatusCodeDescription
403Missing w_time_tracking scope, attempting to archive another employee's entry (user tokens), or entry is an Ergani clock entry
404Time entry not found, not associated with the specified employee, or already archived
422timeEntry.archivalTooLateActive clock-in entry is older than 5.5 minutes and cannot be archived
Path Params
string
required

SPI key of the employee

string
required

UUID of the time entry to archive

Responses
204

204 - No Content

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json