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>",
"alert_summary": "<string>",
"interval": 123,
"interval_unit": "seconds",
"notification_target_id": "<string>",
"notification_target_type": "User",
"description": "<string>",
"alert_description": "<string>",
"alert_urgency_id": "<string>",
"enabled": true
}
}
}
'{
"data": {
"id": "<string>",
"type": "heartbeats",
"attributes": {
"name": "<string>",
"alert_summary": "<string>",
"interval": 123,
"interval_unit": "seconds",
"notification_target_id": "<string>",
"notification_target_type": "User",
"enabled": true,
"status": "waiting",
"email_address": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"description": "<string>",
"alert_description": "<string>",
"alert_urgency_id": "<string>",
"ping_url": "<string>",
"secret": "<string>",
"last_pinged_at": "<string>",
"expires_at": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
heartbeats Show child attributes
The name of the heartbeat
Summary of alerts triggered when heartbeat expires.
seconds, minutes, hours User, Group, Service, EscalationPolicy The description of the heartbeat
Description of alerts triggered when heartbeat expires.
Urgency of alerts triggered when heartbeat expires.
Whether to trigger alerts when heartbeat is expired.
heartbeat created
Show child attributes
Unique ID of the heartbeat
heartbeats Show child attributes
The name of the heartbeat
Summary of alerts triggered when heartbeat expires.
seconds, minutes, hours User, Group, Service, EscalationPolicy Whether to trigger alerts when heartbeat is expired.
waiting, active, expired Email address to receive heartbeat pings.
Date of creation
Date of last update
The description of the heartbeat
Description of alerts triggered when heartbeat expires.
Urgency of alerts triggered when heartbeat expires.
URL to receive heartbeat pings.
Secret used as bearer token when pinging heartbeat.
When the heartbeat was last pinged.
When heartbeat expires
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>",
"alert_summary": "<string>",
"interval": 123,
"interval_unit": "seconds",
"notification_target_id": "<string>",
"notification_target_type": "User",
"description": "<string>",
"alert_description": "<string>",
"alert_urgency_id": "<string>",
"enabled": true
}
}
}
'{
"data": {
"id": "<string>",
"type": "heartbeats",
"attributes": {
"name": "<string>",
"alert_summary": "<string>",
"interval": 123,
"interval_unit": "seconds",
"notification_target_id": "<string>",
"notification_target_type": "User",
"enabled": true,
"status": "waiting",
"email_address": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"description": "<string>",
"alert_description": "<string>",
"alert_urgency_id": "<string>",
"ping_url": "<string>",
"secret": "<string>",
"last_pinged_at": "<string>",
"expires_at": "<string>"
}
}
}