Time entry
List time entries
Returns the time entries of every employee, newest first. The result is paginated unless filtered
by date, in which case the full matching set is returned as a bare array. Employees list their
own entries through GET /time-entries/own.
query Parameters
searchFull-text search across the description and company name.
employee_idsOnly return time entries of these employees. Accepts a comma-separated list of UUIDs.
dateOnly return time entries on this date (Y-m-d). Returns the full set (not paginated).
fromOnly return time entries on or after this date (Y-m-d).
toOnly return time entries on or before this date (Y-m-d).
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List time entries › Responses
Array of TimeEntryResource
Create a time entry
Logs a time entry for an employee, on the given entry_date. Provide the worked time either as a
duration (mode duration with duration_value and duration_unit) or as a period (mode
period with period_started_at and period_ended_at). The entry is created pending, so it
still has to be processed. Logging time on a project also adds the employee to that project.
Employees logging their own time use POST /time-entries/own.
On a recurring project the entry_date has to fall within the project's run: a date after
it extends the project when the authenticated employee has the project.edit permission and
is refused otherwise, a date before it is always refused.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a time entry › Request Body
employee_idUUID of the employee the time is logged for.
descriptionmodeHow the worked time is provided: duration or period.
entry_dateDate the time is logged on.
duration_valueAmount of worked time, 0 or more. Required when mode is duration.
duration_unitUnit of duration_value: hours or minutes. Required when mode is duration.
period_started_atStart of the worked period. Required when mode is period.
period_ended_atEnd of the worked period, after period_started_at. Required when mode is period.
company_idUUID of the company the time is logged for.
project_idUUID of the project the time is logged on.
project_phase_idUUID of a phase of the project. Required on a fixed project, left out on a recurring one.
ticket_idUUID of the ticket the time is logged on.
website_idUUID of the website the time is logged on.
category_idUUID of the time category.
Create a time entry › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atList time entries for the timeline
Returns the time entries within the given date range, in a compact form. Without the
time-tracking.view-all permission only the authenticated employee's entries are returned. The
result is not paginated. The range can span at most 366 days.
query Parameters
fromStart of the range (Y-m-d).
toEnd of the range (Y-m-d).
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List time entries for the timeline › Responses
Get a time entry
Returns a single time entry by ID. Without the time-tracking.view-all permission only the
authenticated employee's own entries can be read.
path Parameters
timeEntryThe time entry UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a time entry › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atUpdate a time entry
Updates an existing time entry. Only the fields present in the request are changed. Without the
time-tracking.manage-all permission only the authenticated employee's own entries can be
updated. The same project rules as for creating an entry apply.
path Parameters
timeEntryThe time entry UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update a time entry › Request Body
descriptionmodeHow the worked time is provided: duration or period.
duration_valueAmount of worked time, 0 or more. Required when mode is duration.
duration_unitUnit of duration_value: hours or minutes. Required when mode is duration.
period_started_atStart of the worked period. Required when mode is period.
period_ended_atEnd of the worked period, after period_started_at. Required when mode is period.
entry_dateDate the time is logged on.
company_idUUID of the company the time is logged for.
project_idUUID of the project the time is logged on.
project_phase_idUUID of a phase of the project. Left out on a recurring project. On a fixed project it is required when project_id is sent, otherwise leave it out to keep the current phase.
ticket_idUUID of the ticket the time is logged on.
website_idUUID of the website the time is logged on.
category_idUUID of the time category.
Update a time entry › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atDelete a time entry
Deletes a time entry.
path Parameters
timeEntryThe time entry UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete a time entry › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atProcess a time entry
Marks a time entry as processed, optionally deducting credits from the linked company by creating
a credit transaction. Deducting credits requires the credits module, the relation.place-transaction
permission and a time entry that is linked to a company.
path Parameters
timeEntryThe time entry UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Process a time entry › Request Body
When present, deducts credits by creating a credit transaction on the linked company.
Process a time entry › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atList own time entries
Returns the authenticated employee's own time entries, newest first.
query Parameters
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List own time entries › Responses
Array of TimeEntryResource
Log own time
Logs a time entry for the authenticated employee. Provide the worked time either as a duration
(mode duration with duration_value and duration_unit) or as a period (mode period with
period_started_at and period_ended_at). The entry is created pending, so it still has to be
processed. Logging time on a project also adds the employee to that project. Logging time for
someone else goes through POST /time-entries instead.
On a recurring project the entry_date has to fall within the project's run: a date after
it extends the project when the authenticated employee has the project.edit permission and
is refused otherwise, a date before it is always refused.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Log own time › Request Body
descriptionmodeHow the worked time is provided: duration or period.
duration_valueAmount of worked time, 0 or more. Required when mode is duration.
duration_unitUnit of duration_value: hours or minutes. Required when mode is duration.
period_started_atStart of the worked period. Required when mode is period.
period_ended_atEnd of the worked period, after period_started_at. Required when mode is period.
entry_dateDate the time is logged on. Defaults to the day period_started_at falls on, or today.
company_idUUID of the company the time is logged for.
project_idUUID of the project the time is logged on.
project_phase_idUUID of a phase of the project. Required on a fixed project, left out on a recurring one.
ticket_idUUID of the ticket the time is logged on.
website_idUUID of the website the time is logged on.
category_idUUID of the time category.
Log own time › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atList time entries on a project
Returns the time entries every employee logged on the project, newest first. The result is not paginated. Filter on a phase or a date range to read only part of the project.
path Parameters
projectThe project UUID
query Parameters
project_phase_idOnly return the entries logged on this phase.
fromOnly return entries on or after this date (Y-m-d).
toOnly return entries on or before this date (Y-m-d).
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List time entries on a project › Responses
Array of TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atGet a time entry on a project
Returns a single time entry logged on the project. Every employee who may read the hours of the project can read it, also when another employee logged it.
path Parameters
projectThe project UUID
timeEntryIdUUID of the time entry.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a time entry on a project › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_atGet a time entry on a ticket
Returns a single time entry logged on the ticket. Every employee who may read the ticket can read it, also when another employee logged it.
path Parameters
ticketThe ticket UUID
timeEntryIdUUID of the time entry.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a time entry on a ticket › Responses
TimeEntryResource
iddescriptionminutesmodeduration_valueduration_unitentry_dateperiod_started_atperiod_ended_atstatusprocessed_atcreated_atupdated_at