Skip to main content
PUT
/
v1
/
heartbeats
/
{id}
Update a heartbeat
curl --request PUT \
  --url https://api.rootly.com/v1/heartbeats/{id} \
  --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": "minutes",
      "notification_target_id": "<string>",
      "notification_target_type": "User",
      "enabled": true
    }
  }
}
'
{
  "data": {
    "id": "92d5bef8-658f-4718-b503-b8a2c3b1642f",
    "type": "heartbeats",
    "attributes": {
      "slug": "recusandae-tenetur-qui-cupiditate",
      "name": "api.rootly.com",
      "description": "This is a description",
      "alert_summary": "API is down",
      "alert_description": "Updated runbook: Check /docs/updated-troubleshooting",
      "alert_urgency_id": "a828950f-db66-4909-9518-4459230780bc",
      "interval": 10,
      "interval_unit": "minutes",
      "notification_target_id": "226",
      "notification_target_type": "User",
      "ping_url": "http://localhost:3001/v1/heartbeats/92d5bef8-658f-4718-b503-b8a2c3b1642f/ping",
      "secret": "heartbeat_e7aae1ac4fd3771761a0474c23bd8fcd8872aaeef4ac8558a1df1440b396f660",
      "email_address": "[email protected]",
      "last_pinged_at": null,
      "expires_at": null,
      "enabled": false,
      "status": "waiting",
      "updated_at": "2025-12-24T09:25:31.646-08:00",
      "created_at": "2025-12-24T09:25:25.841-08:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
required

Resource UUID

Body

application/vnd.api+json
data
object
required

Response

heartbeat updated

data
object
required