---
title: "Get holiday template"
method: GET
path: "/v1/holiday-collections/{collectionId}/templates/{id}"
tags: ["Holiday Templates"]
---

# Get holiday template

`GET /v1/holiday-collections/{collectionId}/templates/{id}`

## Request

- Base URL: `https://api.timesheet.io`
- URL: `https://api.timesheet.io/v1/holiday-collections/{collectionId}/templates/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

## Path parameters

- `collectionId` string, required
- `id` string, required

## Response `200`

Template details

- HolidayTemplateDto
  - `id` string
  - `collectionId` string
  - `name` string
  - `type` string
  - `sourceType` string
  - `countryCode` string
  - `regionCode` string
  - `jollidayKey` string
  - `recurring` boolean
  - `customDate` string
  - `customMonth` integer
  - `customDay` integer
  - `active` boolean
  - `lastUpdate` integer
  - `created` integer

## Other responses

- `401`: Not authorized

---

[API](https://skmtc.dev/timesheet/apis/timesheet-api.md) - [All operations](https://skmtc.dev/timesheet/apis/timesheet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/timesheet/apis/timesheet-api/revisions/2f6595c95dc4?raw)
