v1
latestOpenAPI 3.0.22026-07-24154101.1 MBTime Off
List Time Off
get/v2/time_off
Query parameters
company_idinteger required
Company ID
location_idinteger
Location ID
user_idinteger
User ID
statusinteger
Status
category'paid' | 'unpaid' | 'paid_sick'
Category
to_date_gtestring
A date with YYYY-MM-DD format
Example:2020-01-01
Return time offs that end after a specified date.
sort_by'created' | 'from_date'
Sort by column
sort_dir'asc' | 'desc'
Sort by direction (asc, desc)
cursorstring
Cursor for the next or previous page of results.
limitinteger
The number of results desired per page.
Headers
x-api-versionstring
An API version
Example:2022-05-01
7shifts API version
x-company-guidstring uuid
Company GUID
Response
An array of time off requests