Skip to main content
Use this endpoint to retrieve a predefined set of holidays for a supported region. Template holidays can be used as a starting point when creating a Holiday List instead of manually adding each holiday.
Holiday templates are maintained by Weya AI and may be updated periodically to reflect official public holidays.

OpenAPI

Authorizations

string
required
Bearer Token for the authenticated user.Format:Authorization: Bearer YOUR_ACCESS_TOKEN

Path Parameters

string
required
The region or country for which predefined holidays should be returned.Examples:
  • india
  • united-states
  • united-kingdom
  • australia

Example Request

Successful Response

Response Fields

string
The region associated with the returned holiday template.
array
Array of predefined holidays available for the selected region.
string
Name of the holiday.
string
Date of the holiday in ISO format (YYYY-MM-DD).

Error Responses

Bad Request (400)

Unauthorized (401)

Region Not Found (404)

Internal Server Error (500)