---
title: "Creates a Policy assignment"
method: POST
path: "/api/2026-10-01/resources/timeoff/policy_assignments"
tags: ["Timeoff > PolicyAssignment"]
---

# Creates a Policy assignment

`POST /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: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `time_off`
  - API key in header `x-api-key`

Create a Time off Policy Assignment

## Request body

- object
  - `timeoff_policy_id` string, required: The time off policy id
  - `employee_id` string, required: The employee id
  - `effective_at` string, required: The effective date of the policy assignment

## Response `201`

CREATED

- TimeoffPolicyAssignment
  - `id` string: Unique identifier of the policy assignment
  - `timeoff_policy_id` string, required: ID of the time off policy assigned to the employee
  - `employee_id` string, required: ID of the employee this assignment governs
  - `effective_at` string, required: Date from which this policy assignment takes effect for the employee

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/timeoff/policy_assignments/post.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
