Create a heartbeat group

Create a heartbeat group for organizing related heartbeats in the dashboard.

POST https://incidents.betterstack.com/api/v3/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

Content-Type string

application/json

name string required

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.

201 Created
{
  "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"
    }
  }
}

Returns the newly created heartbeat group.

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

Create a heartbeat group Listed first
curl --request POST \
  --url https://incidents.betterstack.com/api/v3/heartbeat-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "name": "Backend services"
}'
curl --request POST \
  --url https://incidents.betterstack.com/api/v3/heartbeat-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "name": "Database backups",
  "sort_index": 0
}'