# Get heartbeat group

Returns an existing heartbeat group by ID.

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/heartbeat-groups/{heartbeat_group_id}"
method = "GET"

[[query_param]]
name = "heartbeat_group_id"
description = "The ID of your heartbeat group."
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns an existing heartbeat group'''
body = '''{
  "data": {
    "id": "123456",
    "type": "heartbeat_group",
    "attributes": {
      "name": "Backend services",
      "sort_index": 0,
      "created_at": "2020-09-18T17:20:42.514Z",
      "updated_at": "2020-09-18T17:21:27.251Z",
      "team_name": "Test team",
      "paused": false
    }
  }
}'''
[/responses]

#### Example cURL 

```shell
[label Example]
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/heartbeat-groups/123456 \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Looking for the details of a specific parameter?
Explore [the list of all heartbeat groups API parameters](https://betterstack.com/docs/uptime/api/heartbeat-groups-api-response-params/)
[/info]
