List heartbeats in a group
List the heartbeats in this group, sorted by ID.
The ID of the heartbeat group.
Page to return, starting at 1.
Results per page. Maximum 250.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
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.
{
"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
}
}
{
"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"
}
Returns the list of heartbeats.
The API token is missing or invalid.
Your role doesn't allow viewing this, or the token can't be used for this API.
The heartbeat group doesn't exist, or the token can't access it.
The ID of the heartbeat.
Always heartbeat.
Heartbeat name.
The unique URL your service requests to report a heartbeat.
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.
Whether the heartbeat is paused. A paused heartbeat doesn't notify you about downtime.
How often the heartbeat expects a request, in seconds. At least 30 and less than a year.
How late a request can arrive after period, in seconds, before it counts as missed. At least 0 and less than a year.
ID of the heartbeat group this heartbeat belongs to.
Whether to send an e-mail to the on-call person. Ignored while an escalation policy is set.
Whether to send an SMS to the on-call person. Ignored while an escalation policy is set.
Whether to call the on-call person. Ignored while an escalation policy is set.
Whether to send a push notification to the on-call person. Ignored while an escalation policy is set.
Whether to send a critical push notification that ignores the mute switch and Do Not Disturb mode. Ignored while an escalation policy is set.
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.
ID of the escalation policy for alerts, or null to alert the current on-call person directly. Get the ID via List escalation policies.
The escalation policy used for alerts, linked by its ID. null when the heartbeat has none.
ID of the linked escalation policy.
Always escalation_policy.
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.
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.
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.
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.
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.
When the heartbeat was paused. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
When the heartbeat was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
When the heartbeat was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
Team that owns this heartbeat, such as t123.
Name of the team that owns this heartbeat.
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.
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.
The text of a String value.
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.
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.
Referenced user's e-mail, returned for a User. A user can also be found by e-mail.
Each linked escalation policy, with its id, type and attributes.
ID of the linked escalation policy.
Always escalation_policy.
For a escalation_policy record, the escalation policy's attributes, the same as getting the escalation policy returns.
The URL of the first page of results.
The URL of the last page of results.
The URL of the previous page, or null on the first page.
The URL of the next page, or null on the last page.
How many results the whole list holds, across every page.
Example cURL