v1
latestOpenAPI 3.1.02026-07-14801408.6 KB/time-tracking/employees/:id/time-entries
Creates a single time entry for the specified employee. Supports five clock modes. Supports both user and account tokens. Required scope: w_time_tracking.
post/time-tracking/employees/{key}/time-entries
Path parameters
keystring required
SPI key of the employee
Request body
Response
- Response shape depends on type: time-entry returns the created entry; clock-in / ergani-clock-in return a single object with clock_in_time and subsequent_clock_in_times; clock-out / ergani-clock-out return a JSON array of the entries closed by the clock-out. All times are in UTC (with Z suffix); responses include a timezone field with the IANA timezone resolved for the timesheet.
Example response
{
"type": "time-entry",
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"clock_in_time": "2024-09-27T09:00:00.000Z",
"clock_out_time": "2024-09-27T17:00:00.000Z",
"timezone": "Europe/London"
}