Skip to main content
POST
/
v1
/
heartbeats
Creates a heartbeat
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": "minutes",
      "notification_target_id": "<string>",
      "notification_target_type": "User",
      "description": "<string>",
      "alert_description": "<string>",
      "alert_urgency_id": "<string>",
      "enabled": true
    }
  }
}
'
{
  "data": {
    "id": "74a5438e-f1ed-4b42-871b-49f0ac313dac",
    "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": "96088a45-7e6f-4330-ad76-188e34a1951c",
      "interval": 1,
      "interval_unit": "minutes",
      "notification_target_id": "498",
      "notification_target_type": "User",
      "ping_url": "http://localhost:3001/v1/heartbeats/74a5438e-f1ed-4b42-871b-49f0ac313dac/ping",
      "secret": "heartbeat_6ff146c341791c09e3ce41cbb97fc290eccc13e8c66c9f2223b614aa550a4d79",
      "email_address": "[email protected]",
      "last_pinged_at": null,
      "expires_at": null,
      "enabled": false,
      "status": "waiting",
      "updated_at": "2026-02-07T16:47:57.495-08:00",
      "created_at": "2026-02-07T16:47:57.495-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json
data
object
required

Response

heartbeat created

data
object
required