Create a heartbeat group
Create a heartbeat group for organizing related heartbeats in the dashboard.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
application/json
Group name.
The position of the group in your list of heartbeat groups, lower values first. null when no position was set.
{
"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"
}
}
}
{
"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"
}
{
"errors": "This API token is read-only and cannot be used for write operations."
}
Returns the newly created heartbeat group.
The API token is missing or invalid.
The token is read-only, your role doesn't allow the action, or the token can't be used for this API.
Validation failed, an attribute is unknown, or a token with access to more than one team didn't name a team.
The ID of the heartbeat group.
Always heartbeat_group.
Group name.
The position of the group in your list of heartbeat groups, lower values first. null when no position was set.
Whether every heartbeat in the group is paused, false when the group has none.
When the group was created. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
When the group was last updated. In ISO 8601 format, such as 2026-07-01T12:00:00Z.
Team that owns this heartbeat group, such as t123.
Name of the team that owns this heartbeat group.
Example cURL