Attendance > WorkedTime
Reads all Worked times
Changed onReads all Worked times
get/api/2026-10-01/resources/attendance/worked_times
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/attendance/worked_times
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: time_tracking
- or API key in header x-api-key
Query parameters
ids[]string[]
Composite worked time id combining the employee_id and date, formatted as <employee_id>_<YYYY-MM-DD>.
[ "1_2024-07-01" ]
start_onstring
Start of the date range to fetch worked times for (inclusive). Required together with end_on.
Example:2024-07-01
end_onstring
End of the date range to fetch worked times for (inclusive). Required together with start_on.
Example:2024-07-07
employee_ids[]string[]
Employee IDs to filter the date-range query by. When omitted, all attendable employees are returned.
[ "1" ]
include_time_range_categoryboolean required
Whether to include the time range category on each worked time block.
include_non_attendable_employeesboolean required
Whether to include employees excluded from attendance (attendable=false) in the result. Forced to true when filtering by a single employee, so their historical worked time is returned even if they are no longer attendable.
Response
OK
Example response
{
"data": [
{
"id": "1_2024-07-01"
}
]
}Changes
- info
endpoint added
- info