Retrieves a specific heartbeat by id
curl --request GET \
--url https://api.rootly.com/v1/heartbeats/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "e2b1fc39-092d-4f3c-8030-13aec3e7d0f7",
"type": "heartbeats",
"attributes": {
"slug": "modi-aut-dolores-sit",
"name": "Modi aut dolores sit.",
"description": "Quidem optio cum quae.",
"alert_summary": "API is down",
"alert_urgency_id": "8be1120d-a6d5-4ad9-bebe-201f8d784e8a",
"interval": 4,
"interval_unit": "minutes",
"notification_target_id": "161",
"notification_target_type": "User",
"ping_url": "http://localhost:3001/v1/heartbeats/e2b1fc39-092d-4f3c-8030-13aec3e7d0f7/ping",
"secret": "heartbeat_fa2aeb5485dee0b81d0c364e116af8ba95bf2877bf0e2ea2de2a083157e3863d",
"last_pinged_at": null,
"expires_at": null,
"enabled": false,
"status": "waiting",
"updated_at": "2025-08-12T16:34:43.592-07:00",
"created_at": "2025-08-12T16:34:43.592-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
heartbeat found
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/heartbeats/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "e2b1fc39-092d-4f3c-8030-13aec3e7d0f7",
"type": "heartbeats",
"attributes": {
"slug": "modi-aut-dolores-sit",
"name": "Modi aut dolores sit.",
"description": "Quidem optio cum quae.",
"alert_summary": "API is down",
"alert_urgency_id": "8be1120d-a6d5-4ad9-bebe-201f8d784e8a",
"interval": 4,
"interval_unit": "minutes",
"notification_target_id": "161",
"notification_target_type": "User",
"ping_url": "http://localhost:3001/v1/heartbeats/e2b1fc39-092d-4f3c-8030-13aec3e7d0f7/ping",
"secret": "heartbeat_fa2aeb5485dee0b81d0c364e116af8ba95bf2877bf0e2ea2de2a083157e3863d",
"last_pinged_at": null,
"expires_at": null,
"enabled": false,
"status": "waiting",
"updated_at": "2025-08-12T16:34:43.592-07:00",
"created_at": "2025-08-12T16:34:43.592-07:00"
}
}
}