Paths are relative to
https://www.hiloscheduling.com/api/partner/v1. “Needs” is the scope your key needs; Hilo must also have turned on the matching permission for your partner account. {id} is the business’s Hilo id.edited means it was added or changed by hand rather than clocked live. version goes up with every change.
POST /organizations/{id}/time/clock
Clock in, clock out, or start or end a break, right now. Needstime:write.
Hilo never throws away worked time. A clock-out without a clock-in is still saved and flagged for a manager. Clocking in twice is refused with
already_clocked_in.
GET /organizations/{id}/time/clocked-in
Everyone on the clock now:employeeId, displayName, since, onBreak, locationId and punchId. Needs time:read.
GET /organizations/{id}/time/entries
Time entries by work date.from and to (default: the last 7 days, at most 62 days), employee_id and location_id. Needs time:read.
POST /organizations/{id}/time/entries
Add an entry for a shift that wasn’t clocked. Needstime:write. Send employeeId (or externalEmployeeId), date, clockIn and/or clockOut (like 09:00), and performedBy. Optional: outDate (for overnight shifts), unpaidBreakMinutes, locationId and note. Entries in a pay period that’s already approved can’t be added (period_locked).
PATCH /organizations/{id}/time/entries/{entryId}
Fix an entry. Send only what changes (clockIn, clockOut, date, outDate, unpaidBreakMinutes, locationId), plus reason (required) and performedBy. Send the entry’s version to make sure nobody else changed it since you read it (version_conflict if they did). Needs time:write.
GET /organizations/{id}/shifts
The published schedule:id, employeeId, locationId, positionId, start and end. from and to (default: today and the next 6 days, at most 62 days), location_id and employee_id. Drafts the manager hasn’t published aren’t included. Needs time:read.