MoonitorMoonitor
API & webhooks — Beta

Monitoring you can program.

Everything the Moonitor dashboard can do, your code can do too. A REST API manages monitors, incidents, status pages and maintenance windows; signed webhooks push every lifecycle event into your own systems the moment it happens.

Public API

One key, your whole monitoring stack

Create an API key in the dashboard, choose read-only or full access, and drive Moonitor from deploys, internal tooling or your own product. Every request is tenant-scoped, rate-limited per key and traceable by request ID.

Organization-scoped keys

Read-only or full-access API keys, created in the dashboard and always confined to one organization.

Every resource, one contract

31 endpoints across monitors, incidents, status pages, maintenance windows and webhook subscriptions — all described by one OpenAPI 3.1 document.

Safe retries built in

Send an Idempotency-Key with any mutation and Moonitor replays the same successful response instead of running it twice.

curl https://www.moonitor.dev/api/v1/monitors \
  -H "X-API-Key: moon_YOUR_KEY"
Webhooks

Every event, pushed to you

Point Moonitor at any public HTTPS endpoint and receive structured JSON the moment an incident opens or resolves, a monitor changes, or a maintenance window starts. Verify each delivery with its signature before you act on it.

Signed, verifiable deliveries

Standard Webhooks HMAC-SHA256 signatures on the exact raw body, with 24-hour dual signing during secret rotation.

17 lifecycle events

Incidents, monitors, maintenance and test events — subscribe per event type or to everything at once.

Retries you can diagnose

Failed deliveries retry on a bounded exponential schedule, and every attempt is kept visible in the dashboard and the API.