Create a heartbeat check
statuscake_create_heartbeat_checkCreate a heartbeat (push) check for a cron job or worker: it goes down if StatusCake is not pinged within period seconds. Returns the new id as data.new_id; fetch it with statuscake_get_heartbeat_check to get the ping URL. StatusCake: POST /heartbeat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Name of the hosting provider (informational). | |
| name | Yes | Name of the check. | |
| tags | No | Tags for the check. An empty list clears them. | |
| paused | No | Create the check paused. | |
| period | Yes | Seconds since the last ping before the check is down, 30-172800 (e.g. 1800). | |
| contact_groups | No | Contact group ids to alert (see statuscake_list_contact_groups). An empty list clears them. |