Headers
Bearer $TOKEN
application/json
Body parameters
Required if using global API token to specify the team which should own the resource
The name of the service for this heartbeat.
How often we should expect this heartbeat, in seconds. Minimum value: 30 seconds, and it must be shorter than one year.
How late a heartbeat can arrive, in seconds, before we consider it missed. Minimum value: 0 seconds, and it must be shorter than one year. We recommend setting this to about 20% of period.
Should we call the on-call person? Defaults to false.
Should we send an SMS to the on-call person? Defaults to false.
Should we send an e-mail to the on-call person? Defaults to true.
Should we send a push notification to the on-call person? Defaults to false.
Should we send a critical push notification that ignores the mute switch and Do Not Disturb mode? Defaults to false.
How long to wait, in seconds, before escalating the incident to the whole team. Leave blank to disable escalating to the entire team.
Set this attribute if you want to add this heartbeat to a heartbeat group
A sort value you can set through the API. The dashboard doesn't use it to order heartbeats.
Set to true to pause monitoring — we won't notify you about downtime. Set to false to resume monitoring
Optional IANA timezone (e.g. Europe/Berlin) used for DST-aware missed-beat detection. Requires period >= 3600 (1 hour)
An array of maintenance days to set. If a maintenance window is overnight both affected days should be set. Allowed values are ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'] or any subset of these days. Defaults to every day.
Start of the maintenance window each day. We won't check your website during this window. Example: '01:00'
End of the maintenance window each day. Example: '03:00'
The timezone to use for the maintenance window each day. Defaults to UTC. The accepted values can be found in the Rails TimeZone documentation. https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html
Set the escalation policy for the monitor.
An object with metadata keys as the object keys and either a single metadata value or an array of metadata values as the object values. Each value is a plain string or an object with the attributes described in creating a metadata record. All values under one key must be of the same type and must not repeat. The metadata attribute can only be set when creating the heartbeat, and existing metadata is changed through the metadata API.