Add tracked time
teamleader_add_time_trackingWRITE: record time spent, e.g. 90 minutes of development for a company. Give started_at plus duration_minutes or ended_at; optionally a work type, a description, the subject (customer, ticket, task, ...) and whether it is invoiceable. Teamleader splits an entry that passes midnight. Returns the new entry's id. Teamleader: timeTracking.add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Record the time for another user (default: the signed-in user). | |
| ended_at | No | End; give this or duration_minutes (ISO 8601 with offset, e.g. 2026-01-31T00:00:00+00:00). | |
| started_at | Yes | Start (ISO 8601 with offset, e.g. 2026-02-04T09:00:00+01:00). | |
| subject_id | No | The subject id (a UUID). | |
| description | No | ||
| invoiceable | No | ||
| subject_type | No | With subject_id: what the time was spent on (todo = a task, nextgenTask = a task in the projects module). | |
| work_type_id | No | The work type id (a UUID). | |
| duration_minutes | No | Time spent, in minutes. Give this or ended_at. |