Hydrozen.io
  • Introduction
  • Monitors
    • Getting Started
    • Monitor Types
  • heartbeats
    • Getting Started
  • Domain Name & Certificate
    • Getting started
  • Status Pages
    • Create a Statuspage
    • Adding custom domain to Statuspage
  • Projects
    • Create a Project
    • Using Projects
  • Notification Handlers (Integrations)
    • Getting started
    • Discord
    • Slack
    • Squadcast
    • Telegram
    • Webhooks
    • PagerTree
  • Plugins & extensions
    • Chrome extension
  • MISC
    • User Agent & IP list
Powered by GitBook
On this page
  • Headers
  • Payload format

Was this helpful?

  1. Notification Handlers (Integrations)

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,
  "url": "https://app.hydrozen.io/monitor/14"
}
// 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,
  "url": "https://app.hydrozen.io/monitor/14"
}
// 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,
  "url": "https://app.hydrozen.io/monitor/14"
}
// 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,
  "url": "https://app.hydrozen.io/heartbeat/1"
}
// 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",
  "url": "https://app.hydrozen.io/domain-name/1"
}

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",
  "url": "https://app.hydrozen.io/domain-name/1"
}
PreviousTelegramNextPagerTree

Last updated 11 months ago

Was this helpful?