Skip to main content

IsHolidayOn checks if a given date is a holiday.

POST 

/api/v1/voice/holidays/check

Evaluates holidays only (not business hours/overrides). Use AvailabilityService.CheckAvailability for complete check.

Parameters

  • date: Required, date to check (YYYY-MM-DD format)
  • channel: Required, channel to check

Response

  • is_holiday: Whether date is a holiday for the channel
  • holiday: The matching holiday details (if found)

Errors

  • INVALID_ARGUMENT: Invalid date format
  • PERMISSION_DENIED: Caller lacks voice:schedule:read permission

Request

Responses

A successful response.