teamleader_add_time_tracking
Log worked hours against tasks, tickets, milestones, events, companies, or contacts in Teamleader Focus by specifying start time and duration in minutes or seconds.
Instructions
Log time worked (e.g. '1 hour of effort') against a subject such as a task/todo, ticket, milestone, event, company, or contact. Provide either duration_minutes or duration_seconds together with started_at. Note: Teamleader splits an entry that spans midnight into multiple entries automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Log time on behalf of a different user (defaults to the authenticated user) | |
| started_at | Yes | Start of the tracked period, ISO 8601 datetime (e.g. 2026-07-25T09:00:00+02:00) | |
| subject_id | Yes | ID of the entity to log time against | |
| description | No | Description of the work done | |
| invoiceable | No | Whether this time is billable to the customer | |
| subject_type | Yes | Type of the entity to log time against | |
| work_type_id | No | Work type ID (see teamleader_list_work_types) | |
| duration_minutes | No | Duration in minutes (e.g. 60 for one hour). Provide this or duration_seconds. | |
| duration_seconds | No | Duration in seconds (e.g. 3600 for one hour). Provide this or duration_minutes. |