Get holiday mode

Get whether a team member's holiday mode is on, and when it ends.

GET https://incidents.betterstack.com/api/v3/holiday-mode

Query parameters

user_id
string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "u123",
    "type": "holiday_mode",
    "attributes": {
      "on_holiday": true,
      "holiday_ends_at": "2026-12-24T09:00:00Z"
    }
  }
}
401

Response body

{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
403

Response body

{
  "errors": "Holiday mode belongs to a person, so it needs an OAuth token that signs in as them, or an organization API token with `user_id`. Team API tokens and agent tokens are refused."
}
422

Response body

{
  "errors": "`user_id` names no team member of your organization. Give their `u123` id or e-mail."
}

Response attributes

id
string
type
string
on_holiday
boolean
holiday_ends_at
datetime or null

Example cURL

Get holiday mode
curl --request GET \
  --url https://incidents.betterstack.com/api/v3/holiday-mode \
  --header "Authorization: Bearer $TOKEN"