Timeoff > Policy
Creates a Policy
Changed onCreates a Policy
post/api/2026-10-01/resources/timeoff/policies
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/timeoff/policies
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: time_off
- or API key in header x-api-key
Request body
Example request
{
"name": "Policy for remotes",
"description": "This policy will apply only for remote employees",
"company_id": "1",
"based_on_policy_id": "1"
}Response
CREATED
Example response
{
"id": "1",
"name": "Policy for remotes",
"main": true,
"company_id": "1",
"description": "This policy will apply only for remote employees"
}Changes
- info
endpoint added
- info