v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-271727149.6 KB
Time Off

Get the time off requests that workers in your company have made.

get/v1/time_off/requests

Query parameters

limitstring

a number less than or equal to 100

a number less than or equal to 100

afterIdstring
beforeIdstring
statusesstring[]
policyIdsstring[]
[
  "top_1234"
]
workerIdsstring[]
[
  "wrk_1234"
]
startsOnOrAfterstring

a string to be decoded into a Date

startsBeforestring

a string to be decoded into a Date

endsOnOrAfterstring

a string to be decoded into a Date

endsBeforestring

a string to be decoded into a Date

Response

Success

hasMoreboolean required
countinteger required

an integer

Example response

{
  "data": [
    {
      "timeOffPolicyId": "top_1234",
      "workerId": "wrk_1234",
      "timeZone": "America/New_York"
    }
  ]
}