attendance-report
Find attendance report
NOTE: The response for this endpoint is cached for 12 hours per API token and query parameters to avoid heavy load on our API. Updates will not be reflected immediately.
get/attendance-report
Request
- Base URL: https://api.hoorayhr.io
- URL: https://api.hoorayhr.io/attendance-report
- Auth: API key in header authorization
Query parameters
startDatestring date required
Example:2025-05-01
Start date of the report. Format: YYYY-MM-DD
endDatestring date required
Example:2025-05-31
End date of the report. Format: YYYY-MM-DD. The end date cannot be more than 31 days after the start date
includeInactiveEmploymentboolean
Whether to include users without an active employment in the provided date range
Response
success
Example response
[
{
"userId": 1,
"scheduledHours": 176,
"leaveHours": 16,
"sickLeaveHours": 4,
"writtenHours": 140,
"balanceHours": -16
}
]Changes
No recorded changes to this operation across all 1 revision of this API.