List heartbeats in a group

List the heartbeats in this group, sorted by ID.

GET https://incidents.betterstack.com/api/v3/heartbeat-groups/{id}/heartbeats
id string required

The ID of the heartbeat group.

page integer

Page to return, starting at 1.

per_page integer default: 50

Results per page. Maximum 250.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

Results are paginated

Use pagination.next and pagination.prev to move through pages or jump to a specific one using page and per_page. See Pagination.

200 OK
{
  "data": [
    {
      "id": "123456789",
      "type": "heartbeat",
      "attributes": {
        "name": "Testing heartbeat",
        "url": "https://uptime.betterstack.com/api/v1/heartbeat/s3cr3t-placeholder",
        "status": "up",
        "paused": false,
        "period": 10800,
        "grace": 300,
        "heartbeat_group_id": "123456",
        "email": true,
        "sms": false,
        "call": false,
        "push": true,
        "critical_alert": false,
        "team_wait": 180,
        "escalation_policy_id": "456",
        "server_timezone": "Europe/London",
        "maintenance_from": "01:02:00",
        "maintenance_to": "03:04:00",
        "maintenance_timezone": "Amsterdam",
        "maintenance_days": [
          "mon",
          "tue",
          "wed",
          "thu",
          "fri",
          "sat",
          "sun"
        ],
        "paused_at": "2020-12-10T15:00:15.089Z",
        "created_at": "2020-05-05T11:41:49.327Z",
        "updated_at": "2020-12-10T15:00:15.089Z",
        "team_id": "t123",
        "team_name": "Test team",
        "metadata": {
          "Service": [
            {
              "type": "String",
              "value": "Checkout"
            }
          ]
        }
      },
      "relationships": {
        "escalation_policy": {
          "data": {
            "id": "456",
            "type": "escalation_policy"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": "456",
      "type": "escalation_policy",
      "attributes": {
        "name": "Standard Escalation Policy",
        "repeat_count": 3,
        "repeat_delay": 1800,
        "escalation_policy_group_id": "123456",
        "fallback_escalation_policy_id": "456789",
        "incident_token": "s3cr3t-placeholder",
        "steps": [
          {
            "type": "escalation",
            "wait_before": 0,
            "severity_id": "12345",
            "step_members": [
              {
                "type": "current_on_call"
              }
            ]
          },
          {
            "type": "escalation",
            "wait_before": 600,
            "severity_id": "12345",
            "step_members": [
              {
                "type": "entire_team"
              }
            ]
          }
        ],
        "team_id": "t123",
        "team_name": "Test team"
      }
    }
  ],
  "pagination": {
    "first": "https://incidents.betterstack.com/api/v3/heartbeat-groups/123456/heartbeats?page=1",
    "last": "https://incidents.betterstack.com/api/v3/heartbeat-groups/123456/heartbeats?page=1",
    "prev": null,
    "next": null,
    "total_count": 1
  }
}

Returns the list of heartbeats.

id string

The ID of the heartbeat.

type string

Always heartbeat.

name string

Heartbeat name.

url string

The unique URL your service requests to report a heartbeat.

status string

The heartbeat's current status.
Valid values:
paused: The heartbeat is paused.
pending: The first request hasn't arrived yet.
maintenance: The heartbeat is in its maintenance window.
up: There's no open incident.
validating: Requests arrive again, and the open incident resolves once the recovery period passes.
down: A request didn't arrive in time or reported a failure.

paused boolean

Whether the heartbeat is paused. A paused heartbeat doesn't notify you about downtime.

period integer

How often the heartbeat expects a request, in seconds. At least 30 and less than a year.

grace integer

How late a request can arrive after period, in seconds, before it counts as missed. At least 0 and less than a year.

heartbeat_group_id string or null

ID of the heartbeat group this heartbeat belongs to.

email boolean

Whether to send an e-mail to the on-call person. Ignored while an escalation policy is set.

sms boolean

Whether to send an SMS to the on-call person. Ignored while an escalation policy is set.

call boolean

Whether to call the on-call person. Ignored while an escalation policy is set.

push boolean

Whether to send a push notification to the on-call person. Ignored while an escalation policy is set.

critical_alert boolean

Whether to send a critical push notification that ignores the mute switch and Do Not Disturb mode. Ignored while an escalation policy is set.

team_wait integer or null

Seconds to wait before escalating to the whole team. 0 alerts the whole team right away, and null never escalates to the team. Ignored while an escalation policy is set.

escalation_policy_id string or null

ID of the escalation policy for alerts, or null to alert the current on-call person directly. Get the ID via List escalation policies.

relationships.escalation_policy.data object or null

The escalation policy used for alerts, linked by its ID. null when the heartbeat has none.

relationships.escalation_policy.data.id string

ID of the linked escalation policy.

relationships.escalation_policy.data.type string

Always escalation_policy.

server_timezone string or null

The time zone your job runs in, as an IANA name like Europe/Berlin. Set it so a job scheduled by local time isn't counted as late when the clocks change for daylight saving.

maintenance_from string or null

Start time of the daily maintenance window, like 01:00. We don't check the heartbeat during the window. Returned as HH:MM:SS, or null when no window is set.

maintenance_to string or null

End time of the daily maintenance window, like 03:00. Required with maintenance_from. A window that ends before it starts runs overnight. Returned as HH:MM:SS, or null when no window is set.

maintenance_timezone string or null

Time zone of the maintenance window, as a short name like Amsterdam or an IANA name like Europe/Amsterdam. Returned as the short name. null means UTC.

maintenance_days array of strings

Days of the week the maintenance window applies to, any of mon, tue, wed, thu, fri, sat and sun. An overnight window counts for the day it starts. Order doesn't matter.

paused_at datetime or null

When the heartbeat was paused. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

created_at datetime

When the heartbeat was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

updated_at datetime

When the heartbeat was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

team_id string

Team that owns this heartbeat, such as t123.

team_name string

Name of the team that owns this heartbeat.

metadata object

Custom metadata. Each key holds a list of values. A value is a string, written as {type: "String", value}, or a catalog reference, written as {type, item_id, name, email}. User references are returned as u123 and team references as t123. Get a user's ID via List team members, and a team's ID via List teams. Values under one key must all be the same type and can't repeat.

metadata.<key>[].type string

String, or the type of the referenced item, which is one of User, Team, EscalationPolicy, OnCallSchedule, Monitor, SlackIntegration, LinearIntegration, JiraIntegration, MicrosoftTeamsIntegration, ZapierZap, OutgoingWebhook, PagerDutyIntegration or Source.

metadata.<key>[].value string

The text of a String value.

metadata.<key>[].item_id string

ID of the referenced item. For a user it's u123 or their e-mail. For a team it's t123, and for any other item it's the item's own ID. Responses return users and teams in this form. Get a user's ID via List team members, and a team's ID via List teams.

metadata.<key>[].name string or null

Referenced item's name, or null when the item has no name or no longer exists. An item can also be found by its name instead of item_id.

metadata.<key>[].email string

Referenced user's e-mail, returned for a User. A user can also be found by e-mail.

included array

Each linked escalation policy, with its id, type and attributes.

included[].id string

ID of the linked escalation policy.

included[].type string

Always escalation_policy.

included[].attributes object

For a escalation_policy record, the escalation policy's attributes, the same as getting the escalation policy returns.

pagination.first string

The URL of the first page of results.

pagination.last string

The URL of the last page of results.

pagination.prev string or null

The URL of the previous page, or null on the first page.

pagination.next string or null

The URL of the next page, or null on the last page.

pagination.total_count integer

How many results the whole list holds, across every page.

Example cURL

List the group's heartbeats
curl --request GET \
  --url https://incidents.betterstack.com/api/v3/heartbeat-groups/123456/heartbeats \
  --header "Authorization: Bearer $TOKEN"