Untether LabsDevelopers

Get Policies

gethttps://app.untetherlabs.com/api/v1/time-off/policies
This endpoint is paginated. See Pagination for how to page through the results.

Query parameters#

expandstring

Available expansions: properties, payCode

See Query Parameters for more information on expansions.

providerIduuid

Filter to only policies assigned to the given provider.

defaultsForProviderIduuid

Annotate every policy with enrolled, suggested and teammateCount for the given provider, derived from what their active teammates hold. Does not filter.

publishedOnlyboolean· default false

Filter to only policies with properties.published = true.

pageSizenumber· default 20 · min 1 · max 200
cursorstring

Response 200#

itemsTimeOffPolicy[]
Required
Show TimeOffPolicy properties
iduuid
Required
createdAtstring
Required
typeenum
Required
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
and 2 more
namestring
Required
descriptionstring | null
Required
accrualUnitone of
Required
Option 1 — AccrualUnit
enum
hours
days
yearlyAccrualnumber | null

Allowance granted per accrual period, in accrualUnit.

accrualPeriodRRulestring | null

RRULE describing when the balance resets.

propertiesany
payCodeIduuid | null
Required

The pay code for which associated time will be paid out.

payCodeone of
Option 1 — PayCode
iduuid
Required
namestring
Required
shorthandNamestring
Required
hexColorstring
Required
typeenum
Required
hours
days
money
valuenumber
Required
enrolledboolean

Only with defaultsForProviderId: whether that provider is enrolled in this policy.

suggestedboolean

Only with defaultsForProviderId: most of the provider’s active teammates hold this policy. For vacation policies, only the single most common one is suggested.

teammateCountinteger

Only with defaultsForProviderId: number of the provider’s active teammates enrolled in this policy.

cursorstring

Errors#

Input validation failed.

Show extension members
pathstring
messagestring
Required