Timeoff > PolicyAssignment

Reads all Policy assignments

Changed on

Read Time off Policy Assignments

get/api/2026-10-01/resources/timeoff/policy_assignments

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/timeoff/policy_assignments
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: time_off
    • or API key in header x-api-key

Query parameters

ids[]string[]

An array of time off policy assignment ids

[
  "1",
  "2"
]
employee_ids[]string[]

Filter policy assignments by employee ids

[
  "1",
  "2"
]
timeoff_policy_ids[]string[]

Filter policy assignments by time off policy ids

[
  "1",
  "2"
]

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "timeoff_policy_id": "1",
      "employee_id": "1",
      "effective_at": "2024-01-01"
    }
  ]
}

Changes