---
title: "Create absence vacation"
method: POST
path: "/employees/vacation"
tags: ["Absence"]
---

# Create absence vacation

`POST /employees/vacation`

## Request

- Base URL: `https://hurma.work/api/v1`
- URL: `https://hurma.work/api/v1/employees/vacation`
- Auth: none declared. Required headers: `token`
- TypeScript: <https://skmtc.dev/hurma/apis/hurma-public-api-v1-endpoints/docs/employees/vacation/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `token` string, required
- `personal-token` string

## Request body

- EmployeeCreateVacation: Employee create vacation data structure
  - `id` string, required: Id of employee
  - `start_date` string, required: Start date of vacation, format: d.m.Y
  - `end_date` string, required: End date of vacation, format: d.m.Y
  - `full_day` boolean, required: Vacation for the whole day or not
  - `busy_day_checking` boolean, required: Enable\disable check conflicts with vacations
  - `approved` boolean, required: Approve status
  - `start_time` string, nullable: Start time for vacation for part day, format: H:i
  - `end_time` string, nullable: End time for vacation for part day, format: H:i

## Response `200`

ОК

## Other responses

- `403`: Forbidden
- `409`: There are already absences during this period
- `422`: Invalid request parameters

## Changes

- **2026-08-06** `c2e35a68e512`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hurma/apis/hurma-public-api-v1-endpoints/changes/employees/vacation/post.md)

---

[API](https://skmtc.dev/hurma/apis/hurma-public-api-v1-endpoints.md) - [All operations](https://skmtc.dev/hurma/apis/hurma-public-api-v1-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/hurma/apis/hurma-public-api-v1-endpoints/revisions/c2e35a68e512?raw)
