QHR Developers

List my team's time incidents waiting on me

GET/team_time_incidents
Read token is enoughView team attendance attendance/view_teamRequires feature attendanceAvailable in Claudetime_incidents.team_list

The 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

NameInTypeDescriptionExample
fromquerystring (date)First incident date to include. The first day of the current month when omitted.2026-08-01
toquerystring (date)Last incident date to include. The last day of the current month when omitted.2026-08-31
q[kind_eq]querystringOnly this kind.
Allowed values: absence, late, early_leave, short_hours, incomplete
late
q[employee_id_eq]queryintegerOnly this employee (id from employees.list).1203
q[justified]querybooleantrue: only incidents the employee explained.true
q[unjustified]querybooleantrue: only incidents with no explanation.true
pagequeryintegerPage number, starting at 1.
min 1
1
per_pagequeryintegerRecords per page. Each list states its maximum.
min 1
20
Accept-LanguageheaderstringLanguage of messages and translated labels. English when omitted.
Allowed values: ar, en
ar

Response

200 A page of incidents waiting on the manager.

FieldTypeDescription
recordsRequiredarray<object>The incidents on this page, newest date first.
records[].idRequiredintegerIncident id.
records[].employee_idRequiredintegerThe employee's id.
records[].employee_nostringEmployee number.
records[].employee_namestringEmployee's full name.
records[].departmentstringEmployee's department.
records[].dateRequiredstring (date)The day it happened.
records[].kindRequiredstringabsence, 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[].minutesRequiredintegerMinutes at stake: what a deduction would take off.
records[].hoursnumberThe same, in hours.
records[].statusRequiredstringpending_manager (waiting on the manager), pending_hr (waiting on HR), deducted or ignored.
Allowed values: pending_manager, pending_hr, deducted, ignored
records[].deductiblebooleanFalse for incomplete: it can only be ignored, or fixed by correcting the attendance.
records[].can_decidebooleanThe token's owner may decide it at its current stage (its manager, or HR at the HR stage).
records[].can_actbooleanNo payroll run blocks a decision. Act only when both can_act and can_decide are true.
records[].lock_reasonstringWhy 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_referencestringReference of the payroll run behind lock_reason.
records[].payroll_idintegerThe payroll run that paid this deduction.
records[].deduct_escalatesbooleanDeducting 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[].managerobjectThe manager who owes, or gave, the manager-stage decision.
records[].manager.idintegerEmployee id.
records[].manager.namestringFull name.
records[].manager_acted_atstring (date-time)When the manager recommended a deduction (UTC).
records[].manager_notestringThe manager's note with that recommendation.
records[].decided_byobjectWho made the final decision.
records[].decided_by.idintegerEmployee id.
records[].decided_by.namestringFull name.
records[].decided_atstring (date-time)When the final decision was made (UTC).
records[].notestringThe decider's note.
records[].justificationobjectThe employee's reason, or null when they gave none.
records[].justification.reasonstringWhat the employee wrote.
records[].justification.submitted_atstring (date-time)When it was written (UTC).
records[].justification.conflictedbooleanThe incident's minutes changed after the reason was written (the attendance was corrected); read both before deciding.
records[].justification_windowobjectWhether the employee can still explain the day. Information only: a decision is allowed while it is open.
records[].justification_window.openbooleanThe window is still open.
records[].justification_window.deadlinestring (date)Last day to explain; null when the profile allows no corrections.
records[].justification_window.days_leftintegerDays left until the deadline.
records[].attendanceobjectThe attendance record behind it.
records[].attendance.record_idintegerAttendance record id.
records[].attendance.statusstringAttendance status of the day (absent, late, present…).
records[].attendance.check_in_atstring (date-time)Check-in (UTC).
records[].attendance.check_out_atstring (date-time)Check-out (UTC).
records[].attendance.worked_hoursnumberHours worked.
records[].attendance_profileobjectThe attendance profile and shift the day was judged against.
records[].attendance_profile.idintegerProfile id.
records[].attendance_profile.namestringProfile name.
records[].attendance_profile.daily_target_hoursnumberHours expected a day.
records[].attendance_profile.grace_period_minutesintegerGrace period.
records[].attendance_profile.shift_startstringShift start, HH:MM (null on a flexible day).
records[].attendance_profile.shift_endstringShift end, HH:MM.
records[].attendance_profile.day_typestringworking_day, weekend, holiday or on_leave.
records[].attendance_profile.flexiblebooleanA flexible day (hours, no fixed window).
records[].attendance_profile.scheduled_hoursnumberHours scheduled that day.
paginationRequiredobject
pagination.current_pageRequiredintegerThis page's number.
pagination.per_pageRequiredintegerRecords per page.
pagination.total_entriesRequiredintegerRecords across all pages.
pagination.pagesRequiredintegerNumber of pages.

Errors

HTTPCodeMeaningHow to fix
400bad_requestfrom or to is not a date in YYYY-MM-DD form.Send both dates as YYYY-MM-DD.
401token_missingNo Authorization: Bearer … header, or it is malformed.Send Authorization: Bearer qhr_… with the full token.
401token_invalidThe 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.
401token_expiredThe token is past its expiry date.Create a new token.
401token_revokedThe 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.
401tenant_inactiveThe company account is suspended.Contact QHR support.
403forbiddenThe token owner's role lacks the permission this operation needs.Ask an admin to grant the permission shown on this operation (x-permission).
403employee_inactiveThe token owner's employee record is not active.HR must reactivate the employee record.
403tenant_access_revokedThe 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.
422employee_requiredThe 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.
This endpoint can also return the errors that can happen on any endpoint →402 / 412 / 425 entitlement_blocked · 429 rate_limited · 500 internal_error

See the full error catalogue →