---
title: "Populate the global holidays catalog for a year (nationals + municipals)"
method: POST
path: "/api/holidays/seed/{year}"
tags: ["Holidays"]
---

# Populate the global holidays catalog for a year (nationals + municipals)

`POST /api/holidays/seed/{year}`

Idempotently seeds Z_HolidaysCatalog with Portuguese national and municipal
holidays for the given year. The catalog is global (no idcompany), shared
across all tenants. Each company then chooses which of these apply to them
by hiding the ones they don't observe or adding their own customs.

## Path parameters

- `year` integer, required

## Headers

- `x-api-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
