---
title: "Add holiday"
method: POST
path: "/v1/holiday-calendar/holiday"
tags: ["Holiday calendar"]
---

# Add holiday

`POST /v1/holiday-calendar/holiday`

## Request

- Base URL: `https://sandbox.pismolabs.io/passport`
- URL: `https://sandbox.pismolabs.io/passport/v1/holiday-calendar/holiday`
- Auth: none declared

Add a new holiday to an existing holiday calendar.

## Request body

- PresenterAddHolidayToCalendarRequest
  - `holiday_date` string, required: Holiday date. Format = yyyy-mm-dd.
  - `name` string, required: Holiday name
  - `description` string: Holiday description
  - `external_id` string: Client-created external ID. Either this field or `holiday_calendar_id` is **REQUIRED**. Pass one or the other but not both.
  - `holiday_calendar_id` integer: Holiday calendar ID. Either this field or `external_id` is **REQUIRED**. Pass one or the other but not both.
  - `metadata` string: Any data object with key/value pairs. No limit on length. **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis#metadata).

## Response `201`

OK

- PresenterAddHolidayToCalendarResponse
  - `created_at` string, date-time: Datetime program calendar strategy was created. Format = YYYY-MM-DDTHH:MM:SS:MM.
  - `description` string: Holiday description
  - `external_id` string: Customer-provided external ID field for customer monitoring and tracking.
  - `holiday_calendar_id` integer: Holiday calendar ID
  - `holiday_date` string: Holiday date. Format = yyyy-mm-dd.
  - `holiday_id` integer: Holiday ID
  - `metadata` string: Any data object with key/value pairs. No limit on length. **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis#metadata).
  - `name` string: Holiday name
  - `working_date` string, date: Next work day following the holiday. Format = yyyy-mm-dd.

## Other responses

- `400`: Bad request
- `404`: Not found
- `409`: Conflict
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) - [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-authentication/revisions/935b62e16de4?raw)
