Integrations

Connect your alert channels and integrate with any language.

💬

Slack

Get alerts in your Slack channels

Connected
🎮

Discord

Send notifications to Discord channels

Not connected
📧

Email

Receive alerts via email

Connected
🚨

PagerDuty

Trigger PagerDuty incidents

Not connected
🔗

Webhook

Send JSON payloads to any URL

Connected
✈️

Telegram

Get alerts via Telegram bot

Not connected

Code Examples

Integrate with any language or framework. Just one HTTP request.

# Simple ping on success
curl -fsS --retry 3 https://cronguard.com/ping/YOUR_SLUG

# With duration tracking (start + finish)
curl -fsS https://cronguard.com/ping/YOUR_SLUG/start
/usr/local/bin/backup.sh
curl -fsS https://cronguard.com/ping/YOUR_SLUG

# In crontab
0 2 * * * /usr/local/bin/backup.sh && curl -fsS https://cronguard.com/ping/YOUR_SLUG

API Reference

RESTful API with JSON responses. Authenticate with your API key in theX-Api-Keyheader.

MethodEndpointDescription
GET/ping/{slug}Report success. Resets the timer for next expected ping.
GET/ping/{slug}/startSignal that the job has started. Enables duration tracking.
GET/ping/{slug}/failReport failure explicitly. Triggers immediate alert.
POST/api/v1/monitorsCreate a new monitor. Returns slug and ping URL.
GET/api/v1/monitorsList all monitors for the authenticated user.
GET/api/v1/monitors/{id}Get detailed monitor info including recent pings.
PATCH/api/v1/monitors/{id}Update monitor configuration.
DELETE/api/v1/monitors/{id}Delete a monitor and all associated data.
GET/api/v1/monitors/{id}/pingsList recent pings for a monitor.
POST/api/v1/monitors/{id}/pausePause a monitor. No alerts until resumed.