Start a new time record for an employee. For employee and contractor records only: an admin record has no hours or shifts. An employee's open record is an open shift (type: work) or an open break (type: break), as GET /time-records with active=true shows. type: work (the default) starts a shift when the employee has no open record, and on an open break it returns the employee to work: the break record is closed and a new work record starts. type: break starts a break on an open shift: the work record is closed and a break record starts. Ending a break means returning the employee to work with this endpoint and type: work; it requires an open break. With no open break, the employee is not on a break and there is nothing to end: on an open shift they are already working (type: work returns 409, and clock-out would end the shift), and with no open record type: work would start a shift. If the employee already has an active record of a different type (e.g. switching from work to break), the existing record is automatically clocked out first. Use type "switch" to replace the current work record (e.g. changing customer/project) — this auto-clocks out the existing record and creates a new "work" record. Returns 409 if the employee already has an active record of the same type (response may include code: "TIMELINE_ALREADY_CLOCKED_IN" and a conflicts list). Returns 400 if the company requires a customer or project and neither is provided. Returns 400 if the specified customer or project is disabled. Returns 400 if job geofencing applies but start_coordinates is missing or invalid, or if coordinates are outside the allowed perimeter. Returns 429 with code: "TIMELINE_LOCK_NOT_ACQUIRED" if a concurrent clock-in is already being processed for this employee. The auto clock-out expiration is set based on the company's daily cut-off time. Also emits the same live admin websocket update as internal clock-in. Made by a signed-in Friday admin rather than an API key, it is the admin dashboard's clock-in: no start_coordinates are required, and the record is stamped as clocked in by that admin. Webhooks: emits time_record.created plus a dedicated live-clock event — time_record.clocked_in for a work record or job switch, time_record.break_started for a break. If an open record is auto-closed first, that record emits time_record.updated, plus time_record.break_ended when the closed record was a break. No time_record.clocked_out is emitted when a work record is closed by a break start or job switch — the employee is still on shift.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
