> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.neetocal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List holidays

> List the holidays of the workspace. On a holiday no host can be booked for the whole day, unless the host's availability has a date override for it. A recurring holiday repeats every year on the same date.

Any API key and any signed-in member can read holidays. Holidays can only be managed in the NeetoCal app.


<Info>Replace `{your-subdomain}` with your workspace’s subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/api/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled/holidays.yaml GET /holidays
openapi: 3.0.3
info:
  title: NeetoCal Holidays APIs
  version: 2.0.0
servers:
  - description: NeetoCal APIs
    url: https://{your-subdomain}.neetocal.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/api/workspace-subdomain).
security: []
tags:
  - name: Holidays
    description: APIs to read the holidays of the workspace.
paths:
  /holidays:
    get:
      tags:
        - Holidays
      summary: List holidays
      description: >
        List the holidays of the workspace. On a holiday no host can be booked
        for the whole day, unless the host's availability has a date override
        for it. A recurring holiday repeats every year on the same date.


        Any API key and any signed-in member can read holidays. Holidays can
        only be managed in the NeetoCal app.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - in: query
          name: search
          description: Only holidays whose name contains this text.
          required: false
          schema:
            type: string
            example: offsite
        - in: query
          name: from_date
          description: >-
            Only holidays on or after this date (YYYY-MM-DD). Recurring holidays
            are always included.
          required: false
          schema:
            type: string
            format: date
            example: '2026-10-01'
        - in: query
          name: to_date
          description: >-
            Only holidays on or before this date (YYYY-MM-DD). Recurring
            holidays are always included.
          required: false
          schema:
            type: string
            format: date
            example: '2026-10-31'
        - in: query
          name: include_disabled
          description: Set to `true` to include holidays that are turned off.
          required: false
          schema:
            type: boolean
            default: false
        - $ref: '#/components/parameters/page_number_param'
        - in: query
          name: page_size
          description: Number of results per page, up to 100. Defaults to 15 when omitted.
          required: false
          schema:
            type: integer
            maximum: 100
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/holiday_list_response'
              example:
                holidays:
                  - id: 3f1c8a52-6a58-4a5c-9d57-2f5d0a6f3c11
                    name: Company offsite
                    kind: day
                    holiday_on: '2026-10-19'
                    start_date: null
                    end_date: null
                    is_recurring: false
                    enabled: true
                pagination:
                  total_records: 1
                  total_pages: 1
                  current_page_number: 1
                  page_size: 15
        '422':
          description: >-
            Unprocessable Entity - A date is not in YYYY-MM-DD format, or
            `from_date` is after `to_date`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: from_date must be on or before to_date.
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/api/authentication) for more information.
      required: true
      schema:
        type: string
    page_number_param:
      in: query
      name: page_number
      description: >-
        Page of results to retrieve, starting from 1. Defaults to 1 when
        omitted.
      required: false
      schema:
        type: integer
  schemas:
    holiday_list_response:
      type: object
      properties:
        holidays:
          type: array
          items:
            $ref: '#/components/schemas/holiday'
        pagination:
          $ref: '#/components/schemas/pagination'
    holiday:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the holiday.
          example: 3f1c8a52-6a58-4a5c-9d57-2f5d0a6f3c11
        name:
          type: string
          description: Name of the holiday.
          example: Company offsite
        kind:
          type: string
          enum:
            - day
            - range
          description: '`day` uses `holiday_on`. `range` uses `start_date` and `end_date`.'
          example: day
        holiday_on:
          type: string
          format: date
          nullable: true
          description: Date of the holiday when `kind` is `day`.
          example: '2026-10-19'
        start_date:
          type: string
          format: date
          nullable: true
          description: First day of the holiday when `kind` is `range`.
          example: null
        end_date:
          type: string
          format: date
          nullable: true
          description: Last day of the holiday when `kind` is `range`.
          example: null
        is_recurring:
          type: boolean
          description: Whether the holiday repeats on the same month and day every year.
          example: false
        enabled:
          type: boolean
          description: >-
            Whether the holiday is turned on. A holiday that is turned off does
            not block bookings.
          example: true
    pagination:
      type: object
      properties:
        total_records:
          type: integer
          description: Total number of records.
        total_pages:
          type: integer
          description: Total number of pages available.
        current_page_number:
          type: integer
          description: Current page number.
        page_size:
          type: integer
          description: Number of records per page.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.