Create a time off policy assignment
Changed onAssigns a time off policy to an employee. An employee can have only one assignment for each policy.
post/time-off/assignments
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"employee": "emp_sx3svU6K8c5ZkSFlOh5p",
"policy": "top_4fKq8Wz1mN2pR7sT",
"effective_start": "2026-03-12"
}Response
200
Example response
{
"id": "toa_3kWm9Qz5Ht2Lp8Nv",
"policy": "top_4fKq8Wz1mN2pR7sT",
"policy_name": "California Paid Sick Leave",
"employee": "emp_sx3svU6K8c5ZkSFlOh5p",
"active": true,
"effective_start": "2026-03-12",
"balance": "17.16"
}Changes
- info
endpoint added
- info