# Get Time Entries Retrieve time entries for a workspace. Returns a paginated list of time entries with filters for specific date, user, project, and task. Requires workspace owner or executive manager permissions. Endpoint: GET /time-entries Version: 2.0.0 Security: oauth2, apiKey ## Query parameters: - `workspace_id` (integer, required) ID of the workspace Example: 1 - `user_id` (integer, required) Filter by user ID Example: 100 - `date` (string, required) Filter entries for a specific date (format: Y-m-d) Example: "2026-01-29" - `project_id` (integer) Filter by project ID Example: 10 - `task_id` (integer) Filter by task ID Example: 5 - `page` (integer) Page number for pagination - `per_page` (integer) Number of items per page (maximum 50) ## Response 200 fields (application/json): - `success` (boolean) Example: true - `data` (array) - `data.id` (string) Encrypted UUID identifier for the time entry Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" - `data.user_id` (integer) Example: 100 - `data.contract_id` (integer,null) Example: 20 - `data.project_id` (integer,null) Example: 10 - `data.project_name` (string,null) Example: "Website Redesign" - `data.task_id` (integer,null) Example: 5 - `data.task_title` (string,null) Example: "Update homepage design" - `data.activity_description` (string,null) Example: "Working on feature implementation" - `data.method` (string) Tracking method description (e.g., 'Desktop tracker', 'Mobile tracker', 'Manually added time', 'Extension tracker', 'Web tracker', 'Idle time', 'Paid leave', 'Break', 'Paid holiday') Example: "Desktop tracker" - `data.date` (string) Example: "2026-01-29" - `data.start_time` (string) Example: "2026-01-29T09:00:00Z" - `data.end_time` (string,null) Example: "2026-01-29T17:00:00Z" - `data.duration_minutes` (integer) Total duration in minutes Example: 480 - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) Example: "2026-01-29T12:00:00.000000Z" - `meta.pagination` (object) - `meta.pagination.total` (integer) Example: 50 - `meta.pagination.per_page` (integer) Example: 20 - `meta.pagination.current_page` (integer) Example: 1 - `meta.pagination.last_page` (integer) Example: 3 - `meta.pagination.from` (integer) Example: 1 - `meta.pagination.to` (integer) Example: 20 ## Response 400 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 401 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 403 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 404 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 500 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string)