Get Policies
https://app.untetherlabs.com/api/v1/time-off/policiesQuery parameters#
expandstringAvailable expansions: properties, payCode
See Query Parameters for more information on expansions.
providerIduuidFilter to only policies assigned to the given provider.
defaultsForProviderIduuidAnnotate every policy with enrolled, suggested and teammateCount for the given provider, derived from what their active teammates hold. Does not filter.
publishedOnlyboolean· default falseFilter to only policies with properties.published = true.
pageSizenumber· default 20 · min 1 · max 200cursorstringResponse 200#
itemsTimeOffPolicy[]Show TimeOffPolicy properties
iduuidcreatedAtstringtypeenum- bereavement
- floating-holiday
- holiday-pay
- jury-duty
- learning-and-development
- paid-time-off
- vacation
- parental-leave
- personal-day
- sick
- volunteer
- weather
- wellness
- flex-day
- marriage-code
- unpaid-day
namestringdescriptionstring | nullaccrualUnitone ofOption 1 — AccrualUnit
- hours
- days
yearlyAccrualnumber | nullAllowance granted per accrual period, in accrualUnit.
accrualPeriodRRulestring | nullRRULE describing when the balance resets.
propertiesanypayCodeIduuid | nullThe pay code for which associated time will be paid out.
payCodeone ofOption 1 — PayCode
iduuidnamestringshorthandNamestringhexColorstringtypeenum- hours
- days
- money
valuenumberenrolledbooleanOnly with defaultsForProviderId: whether that provider is enrolled in this policy.
suggestedbooleanOnly with defaultsForProviderId: most of the provider’s active teammates hold this policy. For vacation policies, only the single most common one is suggested.
teammateCountintegerOnly with defaultsForProviderId: number of the provider’s active teammates enrolled in this policy.
cursorstring