smb
SMB

Get All Holidays

Changed on

Get all holidays/time-off entries for the current workspace with optional filters

get/v1/smb/holidays

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/smb/holidays
  • Auth
    none declared

Query parameters

start_unixinteger nullable

Filter entries overlapping from this timestamp

end_unixinteger nullable

Filter entries overlapping before this timestamp

time_off_type'staff' | 'asset' | 'location'

Filter by type: location, staff, or asset

resource_idstring nullable

Filter by associated resource ID (staff/asset)

location_idstring nullable

Filter by location ID

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

xi-workspace-idstring nullable

The customer workspace a reseller's API key acts on.

Response

Successful Response

namestring required
holiday_type'closed' | 'override'
time_off_type'staff' | 'asset' | 'location' required
resource_idstring nullable
location_idstring nullable

For LOCATION type: the location this closure applies to.

reasonstring nullable
idstring required
created_at_unixinteger required
updated_at_unixinteger required

Changes