Skip to main content
GET

Overview

List the holiday lists in your organization, including lists created by other users in it. A campaign that uses a holiday list does not place calls on the dates in it.

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.

Response

array[object]
required
The holiday lists in your organization.
string
Holiday list ID. Use it as holidayListId on a campaign.
string
Name of the holiday list.
boolean
Whether this is the organization’s default list. There is at most one. The default list is preselected when you create a campaign in the dashboard.
array[object]
The holidays, each with a label and a date (YYYY-MM-DD).

Error Handling

  • 401 Unauthorized – Missing or invalid API key.
  • 500 Internal Server Error – Unexpected server error.