List my team's time incidents waiting on me
GET
/team_time_incidentsRead token is enoughView team attendance
attendance/view_teamRequires feature attendanceAvailable in Claudetime_incidents.team_listThe manager's queue: the incidents of the token owner's direct reports that are waiting on the manager (pending_manager) in a period, newest date first, with the attendance behind each, the employee's reason if they gave one, and deduct_escalates (deducting passes it to HR rather than ending it). Incidents already with HR or decided are not here.
When to use: for a manager's "what do I need to review?", then time_incidents.decide on each. The period is the current month unless you send from / to.
Prerequisites: none — the manager is the token's owner, who must be linked to an employee record.
Side effects: none. Up to 50 per page.
Parameters
| Name | In | Type | Description | Example |
|---|---|---|---|---|
from | query | string (date) | First incident date to include. The first day of the current month when omitted. | 2026-08-01 |
to | query | string (date) | Last incident date to include. The last day of the current month when omitted. | 2026-08-31 |
q[kind_eq] | query | string | Only this kind. Allowed values: absence, late, early_leave, short_hours, incomplete | late |
q[employee_id_eq] | query | integer | Only this employee (id from employees.list). | 1203 |
q[justified] | query | boolean | true: only incidents the employee explained. | true |
q[unjustified] | query | boolean | true: only incidents with no explanation. | true |
page | query | integer | Page number, starting at 1. min 1 | 1 |
per_page | query | integer | Records per page. Each list states its maximum. min 1 | 20 |
Accept-Language | header | string | Language of messages and translated labels. English when omitted. Allowed values: ar, en | ar |
Response
200 A page of incidents waiting on the manager.
| Field | Type | Description |
|---|---|---|
recordsRequired | array<object> | The incidents on this page, newest date first. |
records[].idRequired | integer | Incident id. |
records[].employee_idRequired | integer | The employee's id. |
records[].employee_no | string | Employee number. |
records[].employee_name | string | Employee's full name. |
records[].department | string | Employee's department. |
records[].dateRequired | string (date) | The day it happened. |
records[].kindRequired | string | absence, late, early_leave, short_hours (a flexible day under its hours) or incomplete (check-in or check-out missing; never deductible).Allowed values: absence, late, early_leave, short_hours, incomplete |
records[].minutesRequired | integer | Minutes at stake: what a deduction would take off. |
records[].hours | number | The same, in hours. |
records[].statusRequired | string | pending_manager (waiting on the manager), pending_hr (waiting on HR), deducted or ignored.Allowed values: pending_manager, pending_hr, deducted, ignored |
records[].deductible | boolean | False for incomplete: it can only be ignored, or fixed by correcting the attendance. |
records[].can_decide | boolean | The token's owner may decide it at its current stage (its manager, or HR at the HR stage). |
records[].can_act | boolean | No payroll run blocks a decision. Act only when both can_act and can_decide are true. |
records[].lock_reason | string | Why can_act is false: already_paid (a payroll run paid it) or period_locked (a run covering the date is past time verification). |
records[].payroll_reference | string | Reference of the payroll run behind lock_reason. |
records[].payroll_id | integer | The payroll run that paid this deduction. |
records[].deduct_escalates | boolean | Deducting it now passes it to HR instead of ending it (manager stage of a manager_and_hr route): the button is "Send to HR", not "Deduct". |
records[].manager | object | The manager who owes, or gave, the manager-stage decision. |
records[].manager.id | integer | Employee id. |
records[].manager.name | string | Full name. |
records[].manager_acted_at | string (date-time) | When the manager recommended a deduction (UTC). |
records[].manager_note | string | The manager's note with that recommendation. |
records[].decided_by | object | Who made the final decision. |
records[].decided_by.id | integer | Employee id. |
records[].decided_by.name | string | Full name. |
records[].decided_at | string (date-time) | When the final decision was made (UTC). |
records[].note | string | The decider's note. |
records[].justification | object | The employee's reason, or null when they gave none. |
records[].justification.reason | string | What the employee wrote. |
records[].justification.submitted_at | string (date-time) | When it was written (UTC). |
records[].justification.conflicted | boolean | The incident's minutes changed after the reason was written (the attendance was corrected); read both before deciding. |
records[].justification_window | object | Whether the employee can still explain the day. Information only: a decision is allowed while it is open. |
records[].justification_window.open | boolean | The window is still open. |
records[].justification_window.deadline | string (date) | Last day to explain; null when the profile allows no corrections. |
records[].justification_window.days_left | integer | Days left until the deadline. |
records[].attendance | object | The attendance record behind it. |
records[].attendance.record_id | integer | Attendance record id. |
records[].attendance.status | string | Attendance status of the day (absent, late, present…). |
records[].attendance.check_in_at | string (date-time) | Check-in (UTC). |
records[].attendance.check_out_at | string (date-time) | Check-out (UTC). |
records[].attendance.worked_hours | number | Hours worked. |
records[].attendance_profile | object | The attendance profile and shift the day was judged against. |
records[].attendance_profile.id | integer | Profile id. |
records[].attendance_profile.name | string | Profile name. |
records[].attendance_profile.daily_target_hours | number | Hours expected a day. |
records[].attendance_profile.grace_period_minutes | integer | Grace period. |
records[].attendance_profile.shift_start | string | Shift start, HH:MM (null on a flexible day). |
records[].attendance_profile.shift_end | string | Shift end, HH:MM. |
records[].attendance_profile.day_type | string | working_day, weekend, holiday or on_leave. |
records[].attendance_profile.flexible | boolean | A flexible day (hours, no fixed window). |
records[].attendance_profile.scheduled_hours | number | Hours scheduled that day. |
paginationRequired | object | |
pagination.current_pageRequired | integer | This page's number. |
pagination.per_pageRequired | integer | Records per page. |
pagination.total_entriesRequired | integer | Records across all pages. |
pagination.pagesRequired | integer | Number of pages. |
Errors
| HTTP | Code | Meaning | How to fix |
|---|---|---|---|
| 400 | bad_request | from or to is not a date in YYYY-MM-DD form. | Send both dates as YYYY-MM-DD. |
| 401 | token_missing | No Authorization: Bearer … header, or it is malformed. | Send Authorization: Bearer qhr_… with the full token. |
| 401 | token_invalid | The token is unknown or wrong, or its owner's account is locked. | Check the token was copied in full, or create a new one in QHR › Settings › API & Integrations. |
| 401 | token_expired | The token is past its expiry date. | Create a new token. |
| 401 | token_revoked | The token was revoked by its owner or an admin, or the owner was removed from the company (which revokes all their tokens). | Create a new token, or ask your admin. If the owner was removed, they must be re-invited to the company first. |
| 401 | tenant_inactive | The company account is suspended. | Contact QHR support. |
| 403 | forbidden | The token owner's role lacks the permission this operation needs. | Ask an admin to grant the permission shown on this operation (x-permission). |
| 403 | employee_inactive | The token owner's employee record is not active. | HR must reactivate the employee record. |
| 403 | tenant_access_revoked | The token's owner is no longer an active member of this company. Rare: removing a member normally revokes their tokens, which answers 401 token_revoked instead. | The owner must be re-invited to the company, then create a new token. If the owner is still a member, contact QHR support. |
| 422 | employee_required | The token's owner has no employee record in this company. A decision records who made it, and a manager's queue is their own direct reports, so both need one. | Use a token created by a user who is linked to an employee record. |
entitlement_blocked · 429 rate_limited · 500 internal_error