Cronitor monitor failed or recovered notifications on your phone.
Get a push notification when a Cronitor cron job, heartbeat or website check fails, and a quiet one when it recovers.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Cronitor
Add it as a webhook for Webhooks.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Cronitor webhooks webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In Cronitor, open Settings > Integrations, click Create Integration and select Webhooks.
- Give it a name and identifier, paste your webhook URL as the URL and press Create Integration.https://••••••••/•••••••• your personal URL, shown after install
- Add the integration to the Notification Lists your jobs and monitors use.
- In Cronitor, open **Settings → Integrations**, click **Create Integration** and select **Webhooks**. Give it a name and a unique identifier, paste the URL above and press **Create Integration**. Webhooks are available on every plan, including the free Hacker plan.
- Then add the integration to one or more **Notification Lists** (Settings → Alerts). Every job, heartbeat or check that uses those lists will send a push when it fails and a quiet one when it recovers.
- Optional query parameters on the URL:
- `?env=production` only pushes alerts from that Cronitor environment.
- `?urgent=1` sends failures at Highest priority instead of High, e.g. for a list that only holds website checks.
- Combine them with `&`, e.g. `your webhook URL?env=production&urgent=1`.
- **Testing:** Cronitor has no test button for webhooks. Create a heartbeat monitor on the same notification list, open its telemetry URL once, then again with `?state=fail` added (an alert), then once more without it (a recovery).
- Cronitor's docs list the payload fields (`id`, `monitor`, `description`, `type`, `rule`, `environment`, `group`, `issue_url`, `monitor_url`) but don't show an example, request headers or signing, so the wording of `description` and `rule` in `sample.json` is illustrative. Keep your endpoint URL private.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Cronitor alert webhook
This is what Cronitor sends to your URL for webhooks. It is a sample, trimmed to the fields recipes use.
Cronitor monitor failed or recovered notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Cronitor and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Cronitor on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.