List Events
list_eventsLists time events from /events for a date range. Supports filters by USER, PROJECT, CUSTOMER, TASK, or COMPANY, plus pagination and sort order. If filter/id are missing, it defaults to USER and auto-resolves the caller user_id. For global account-level events, set filter=COMPANY (or use list_company_events). Limitations: from and to are required; results are paginated; only returns data accessible to the authenticated account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| to | Yes | End date/time. Accepts YYYY-MM-DD or YYYY-MM-DD HH:mm:ss; date-only values are normalized to 23:59:59. | |
| from | Yes | Start date/time. Accepts YYYY-MM-DD or YYYY-MM-DD HH:mm:ss; date-only values are normalized to 00:00:00. | |
| page | No | Zero-based page index. For the first request, omit this field or use 0. Use 1 only after page 0. | |
| order | No | ||
| filter | No | ||
| base_url | No | Optional TrackingTime API base URL override, for example https://api.trackingtime.co/api/v4. | |
| api_token | No | Alias of app_password | |
| page_size | No | Maximum number of results to return per page. | |
| account_id | No | TrackingTime workspace/account ID. Required when the user belongs to multiple workspaces. | |
| access_token | No | OAuth 2.0 bearer access token | |
| app_password | No | TrackingTime app password | |
| global_company | No | ||
| include_custom_fields | No |