---
title: "Search holiday events"
method: POST
path: "/v1/holiday-collections/{collectionId}/events/search"
tags: ["Holiday Events"]
---

# Search holiday events

`POST /v1/holiday-collections/{collectionId}/events/search`

## Request

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

## Path parameters

- `collectionId` string, required

## Request body

- HolidayEventListParams
  - `search` string
  - `sort` string
  - `order` string
  - `count` integer
  - `page` integer
  - `limit` integer
  - `collectionId` string
  - `year` integer
  - `startDate` string
  - `endDate` string
  - `type` string
  - `offset` integer

## Response `200`

Search results

- HolidayEventList
  - `items` HolidayEventDto[]
    - `id` string
    - `templateId` string
    - `collectionId` string
    - `name` string
    - `date` string
    - `year` integer
    - `type` string
    - `created` integer
  - `params` HolidayEventListParams
    - `search` string
    - `sort` string
    - `order` string
    - `count` integer
    - `page` integer
    - `limit` integer
    - `collectionId` string
    - `year` integer
    - `startDate` string
    - `endDate` string
    - `type` string
    - `offset` 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)
