Holiday Regions

List all possible holiday regions

Endpoint

GET/holiday_regions/supported

Return Object

HolidayRegion[]

Authorization Requirement

Available to all authenticated keys or sessions.

Additional Arguments

Example Request

curl https://app.files.com/api/rest/v1/holiday_regions/supported.json \
  -H 'X-FilesAPI-Key: YOUR_API_KEY'

Example Response

[
  {
    "code": "us_dc",
    "name": "United States - District of Columbia"
  }
]

The HolidayRegion Object

Some of the endpoints above return a HolidayRegion object. The attributes of this object are listed below.

AttributeDescription
code
string
The code representing a region
name
string
The name of the region

Example HolidayRegion Object

{
  "code": "us_dc",
  "name": "United States - District of Columbia"
}