attendance_shifts
List organization attendance shifts
Returns actual work shifts (clock-in/clock-out records) for the given organization.
Use date[start] and date[stop] to filter shifts that fall within the specified date range.
Note: The maximum allowed difference between date[start] and date[stop] is 31 days. Data is only available within organization’s retention period. If date[start] falls outside this window, the request will fail.
get/v2/organizations/{organization_id}/attendance_shifts
Request
- Base URLhttps://api.hubstaff.com
- AuthOAuth 2Authorization codehttps://account.hubstaff.com/authorizations/newToken URLhttps://account.hubstaff.com/access_tokensScopeshubstaff:read, hubstaff:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organization_idinteger required
Query parameters
page_start_idinteger
The page start ID.
page_limitinteger
The default page size
date[start]string date required
Start date (ISO 8601)
date[stop]string date required
Stop date (ISO 8601, Inclusive)
includestring[]
Specify related data to side load.
Response
A list of attendance shifts
Changes
No recorded changes to this operation across all 1 revision of this API.