---
title: "Create Holiday"
method: POST
path: "/api/v2/resource_management/holidays"
tags: ["Holiday"]
---

# Create Holiday

`POST /api/v2/resource_management/holidays`

Create a new Holiday

## Headers

- `Authorization` string, required

## Request body

- HolidaySchema
  - `createdAt` integer, nullable — Created timestamp for the holiday
  - `updatedBy` string, nullable — User who updated the holiday
  - `isArchived` boolean, nullable — A flag indicating if holiday is archived
  - `holidayDate` integer, nullable, required — Date of the holiday
  - `createdBy` string, nullable — User who created the holiday
  - `holidayName` string, nullable — Name of the holiday
  - `archivedAt` integer, nullable — Archived timestamp for the holiday
  - `updatedAt` integer, nullable — Updated timestamp for the holiday
  - `holidayType` 'public_holiday' | 'optional_holiday', nullable, required — Type of the holiday
  - `region` string, nullable — Region of the holiday
  - `holidayId` integer, nullable — Holiday id

## Response `200`

OK

- HolidaySchema
  - `createdAt` integer, nullable — Created timestamp for the holiday
  - `updatedBy` string, nullable — User who updated the holiday
  - `isArchived` boolean, nullable — A flag indicating if holiday is archived
  - `holidayDate` integer, nullable, required — Date of the holiday
  - `createdBy` string, nullable — User who created the holiday
  - `holidayName` string, nullable — Name of the holiday
  - `archivedAt` integer, nullable — Archived timestamp for the holiday
  - `updatedAt` integer, nullable — Updated timestamp for the holiday
  - `holidayType` 'public_holiday' | 'optional_holiday', nullable, required — Type of the holiday
  - `region` string, nullable — Region of the holiday
  - `holidayId` integer, nullable — Holiday id

---

[API](https://skmtc.net/eightfold/apis/api-server-v2-service-service.md) · [All operations](https://skmtc.net/eightfold/apis/api-server-v2-service-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eightfold/api-server-v2-service-service/versions/0fb26f4e41bf/schema)
