Skip to main content
GET

Overview

Get the public holidays for a country, ready to send as holidays to Create Holiday List. Nothing is saved by this call. The templates contain 2026 dates only. For other years, edit the dates before saving them.

Prerequisites

  • An API key for your workspace

Endpoint

Request

string
required
Your workspace API key. Create one from the profile menu in the dashboard → API Keys.
string
required
Country code: IN (India), US (United States), AU (Australia) or AE (GCC / UAE). Not case-sensitive.

Response

array[object]
required
The holidays, each with a label and a date in YYYY-MM-DD format.

Error Handling

  • 400 Bad Request – Unsupported region: …. Supported regions: IN, US, AU, AE.
  • 401 Unauthorized – Missing or invalid API key.
  • 500 Internal Server Error – Unexpected server error.
Send the returned list as holidays to POST /api/holiday-list to save it as a holiday list.