Webhooks

Everything about our webhook integrations.

Hydrozen.io is developer friendly and you can pretty much connect with any tools using our outgoing webhooks.

Headers

User Agent

User-Agent: Hydrozen.io/1.0

Payload type

Content-Type: application/json

Payload format

Website - up / down notifications

{
  "monitor_id": "14",
  "name": "Test",
  "type": "website",
  "target": "https://example.com",
  "port": null,
  "is_ok": 0
}
// is_ok will be 0 when the website is down and it will become 1 when it is back up.
// port will be available only for port monitoring

Ping - up / down notifications

{
  "monitor_id": "14",
  "name": "Test",
  "type": "ping",
  "target": "https://example.com",
  "port": null,
  "is_ok": 0
}
// is_ok will be 0 when the website is down and it will become 1 when it is back up.
// For ping monitoring, the target can be a domain or IP
// port will be available only for port monitoring

Host / Port - up / down notifications

{
  "monitor_id": "12",
  "name": "Port",
  "type": "port",
  "target": "199.59.2.8",
  "port": ":1313",
  "is_ok": 0
}
// is_ok will be 0 when the port is down and it will become 1 when it is back up.
// For Host / port monitoring, the target can be a domain or IP

Heartbeat (Cron) - up / down notifications

{
  "heartbeat_id": "1",
  "name": "Payments Cron",
  "type": "heartbeat",
  "is_ok": 0
}
// is_ok will be 0 when the heartbeat is down and it will become 1 when it is back up.

Domain name expiry reminder notification

{
  "domain_name_id": "1",
  "name": "Textpro main site",
  "target": "textpro.xyz",
  "type": "domain-expiry",
  "whois_end_datetime": "2023-01-01 11:28:45",
  "timezone": "UTC"
}

Certificate (SSL) expiry reminder notification

{
  "domain_name_id": "1",
  "name": "Textpro main site",
  "target": "textpro.xyz",
  "type": "ssl-expiry",
  "ssl_end_datetime": "2023-03-23 11:28:45",
  "timezone": "UTC"
}

Last updated