Skip to main content
GET
/
v1
/
time-off
/
policies
Get Policies
curl --request GET \
  --url https://app.untetherlabs.com/api/v1/time-off/policies \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2024-11-20T07:43:34+0000",
      "type": "vacation",
      "name": "QC Vacation",
      "description": "Vacation policy for Quebec-based employees.",
      "accrualUnit": "hours",
      "payCodeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "properties": "<unknown>",
      "payCode": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "Overtime",
        "shorthandName": "OT",
        "hexColor": "#f97316",
        "type": "hours",
        "value": 1.5
      }
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

expand
string

Available expansions: properties, payCode

See Query Parameters for more information on expansions.

providerId
string<uuid>

Filter to only policies assigned to the given provider.

pageSize
number
default:20
Required range: 1 <= x <= 200
cursor
string

Response

items
object[]
required
cursor
string