Get a heartbeat group

Get a heartbeat group. List the heartbeats in it via List heartbeats in a group.

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

Get the ID via List heartbeat groups.

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

200

Returns the heartbeat group.

200 OK
{
  "data": {
    "id": "123456789",
    "type": "heartbeat_group",
    "attributes": {
      "name": "Backend services",
      "sort_index": 0,
      "paused": false,
      "created_at": "2020-09-18T17:20:42.514Z",
      "updated_at": "2020-09-18T17:21:27.251Z",
      "team_id": "t123",
      "team_name": "Test team"
    }
  }
}
401

The API token is missing or invalid.

401 Unauthorized
{
  "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

Your role doesn't include View past performance, uptime, and response times on Monitors, heartbeats, integrations, or the token can't be used for this API.

404

The heartbeat group doesn't exist, or the token can't access it.

id string

The ID of the heartbeat group.

type string

Always heartbeat_group.

name string

Group name.

sort_index integer or null

The position of the group in your list of heartbeat groups, lower values first. null when no position was set.

paused boolean

Whether every heartbeat in the group is paused, false when the group has none.

created_at datetime

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

updated_at datetime

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

team_id string

Team that owns this heartbeat group, such as t123.

team_name string

Name of the team that owns this heartbeat group.

Example cURL

Get a heartbeat group
curl --request GET \
  --url https://incidents.betterstack.com/api/v3/heartbeat-groups/123456 \
  --header "Authorization: Bearer $TOKEN"