---
title: "Create holiday (deprecated)"
method: POST
path: "/holidays-core/v1/holiday"
tags: ["Holidays (deprecated)"]
deprecated: true
---

# Create holiday (deprecated)

`POST /holidays-core/v1/holiday`

## Request

- Base URL: `https://sandbox.pismolabs.io/holidays-core`
- URL: `https://sandbox.pismolabs.io/holidays-core/holidays-core/v1/holiday`
- Auth: HTTP bearer

> **Deprecated.**

**DEPRECATED**. Call the [Add holiday](ref:post-add-holiday-to-calendar) endpoint instead.

Create a holiday&mdash;a day on which your company's offices are closed for normal business activity though online financial transactions and other business activity could still be occurring.

For more information, refer to <a href="https://developers.pismo.io/pismo-docs/docs/platform-setup-holidays">Platform setup - Holidays and administrative divisions</a>.

## Request body

- PresenterCreateHolidayRequest: Data to create a holiday.
  - `name` string, required: Holiday name
  - `holiday_date` string, required: Holiday date. Format = yyyy-mm-dd.
  - `working_date` string, date, required: Next work day following the holiday. Format = yyyy-mm-dd.
  - `administrative_division_id` integer: Administrative division ID. When passed as a parameter, either this or `external_id` is **REQUIRED**.
  - `external_id` string: Existing ID value from another process or application. When passed as a parameter, either this or `administrative_division_id` is **REQUIRED**.

## Response `201`

Holidays response

- PresenterCreateHolidayResponse
  - `id` integer: Holiday ID
  - `name` string: Holiday name
  - `holiday_date` string: Holiday date. Format = yyyy-mm-dd.
  - `working_date` string, date: Next work day following the holiday. Format = yyyy-mm-dd.
  - `administrative_division_id` integer: Administrative division ID. When passed as a parameter, either this or `external_id` is **REQUIRED**.

## Other responses

- `400`: Bad request
- `401`: Access token missing or invalid
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-setup-holidays.md) - [All operations](https://skmtc.dev/pismo/apis/platform-setup-holidays/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-setup-holidays/revisions/53e8339180bd?raw)
