Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Response
heartbeat created
Creates a new heartbeat from provided data
curl --request POST \
--url https://api.rootly.com/v1/heartbeats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "heartbeats",
"attributes": {
"name": "<string>",
"description": "<string>",
"alert_summary": "<string>",
"alert_description": "<string>",
"alert_urgency_id": "<string>",
"interval": 123,
"interval_unit": "seconds",
"notification_target_id": "<string>",
"notification_target_type": "User",
"enabled": true
}
}
}'{
"data": {
"id": "d5c8ec34-c389-48bb-a023-e29444ed4142",
"type": "heartbeats",
"attributes": {
"slug": "api",
"name": "API",
"description": "This is a description",
"alert_summary": "API is down",
"alert_description": "Check the API logs and runbook at /docs/api-troubleshooting",
"alert_urgency_id": "e2ba5d0d-3ee6-4e76-86a6-2e851a734a1a",
"interval": 1,
"interval_unit": "minutes",
"notification_target_id": "210",
"notification_target_type": "User",
"ping_url": "http://localhost:3001/v1/heartbeats/d5c8ec34-c389-48bb-a023-e29444ed4142/ping",
"secret": "heartbeat_6d1d151a2bd358a91e6d080990101b63e2e1c8046a4aee0064feac4c2a7b2954",
"email_address": "heartbeat-677874b482e80a0927d76e93a4734bc1@test.email.rootly.com",
"last_pinged_at": null,
"expires_at": null,
"enabled": false,
"status": "waiting",
"updated_at": "2025-11-19T20:41:09.645-08:00",
"created_at": "2025-11-19T20:41:09.645-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
heartbeat created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/heartbeats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "heartbeats",
"attributes": {
"name": "<string>",
"description": "<string>",
"alert_summary": "<string>",
"alert_description": "<string>",
"alert_urgency_id": "<string>",
"interval": 123,
"interval_unit": "seconds",
"notification_target_id": "<string>",
"notification_target_type": "User",
"enabled": true
}
}
}'{
"data": {
"id": "d5c8ec34-c389-48bb-a023-e29444ed4142",
"type": "heartbeats",
"attributes": {
"slug": "api",
"name": "API",
"description": "This is a description",
"alert_summary": "API is down",
"alert_description": "Check the API logs and runbook at /docs/api-troubleshooting",
"alert_urgency_id": "e2ba5d0d-3ee6-4e76-86a6-2e851a734a1a",
"interval": 1,
"interval_unit": "minutes",
"notification_target_id": "210",
"notification_target_type": "User",
"ping_url": "http://localhost:3001/v1/heartbeats/d5c8ec34-c389-48bb-a023-e29444ed4142/ping",
"secret": "heartbeat_6d1d151a2bd358a91e6d080990101b63e2e1c8046a4aee0064feac4c2a7b2954",
"email_address": "heartbeat-677874b482e80a0927d76e93a4734bc1@test.email.rootly.com",
"last_pinged_at": null,
"expires_at": null,
"enabled": false,
"status": "waiting",
"updated_at": "2025-11-19T20:41:09.645-08:00",
"created_at": "2025-11-19T20:41:09.645-08:00"
}
}
}