REST API & Webhooks Reference
Automate every part of ImpulseWatch over standard JSON HTTPS endpoints with scoped iw_live_* API keys and verify inbound incident webhooks using HMAC-SHA256 signatures.
Authentication, RBAC & Out-of-Band Access
Generate API keys under Settings → API Keys (Admin role required). Keys are prefixed with iw_live_, displayed once upon creation, and stored hashed on the control plane:
Bearer Authentication Header
Authorization: Bearer iw_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
- Tenant Isolation: Every API key is cryptographically bound to a single
org_id; cross-tenant access is strictly impossible. - RBAC Enforcement: Read endpoints accept
viewer+, resource mutations requireeditor+, and API key / SSO / SCIM / Audit Log / User administration requiresadmin. - Out-of-Band Console: Operators can also sign in at
https://app.impulsewatch.iovia Work Email SSO, Client Portal launch, API key (when SSO Enforcement is off), or single-use Break-Glass Recovery Code.
Verified curl Examples
All payloads below match the exact Go control-plane request structs:
Create an HTTPS Monitor (POST /v1/monitors)
curl -fsS -X POST https://api.impulsewatch.io/v1/monitors \
-H "Authorization: Bearer iw_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Production Checkout API",
"type": "http",
"target": "https://api.acme-corp.com/v1/checkout/health",
"interval_sec": 60,
"timeout_ms": 10000,
"regions": ["us-central", "us-east"],
"config": {
"expected_status": [200]
}
}'
List Monitors, Active Incidents & Monitoring Locations
# List all monitors in your workspace
curl -fsS https://api.impulsewatch.io/v1/monitors \
-H "Authorization: Bearer iw_live_your_api_key"
# Fetch dashboard overview & monotonic SLA metrics
curl -fsS https://api.impulsewatch.io/v1/dashboard/overview \
-H "Authorization: Bearer iw_live_your_api_key"
# List currently open incidents
curl -fsS "https://api.impulsewatch.io/v1/incidents?status=open" \
-H "Authorization: Bearer iw_live_your_api_key"
# Fetch active live probe locations & static IPv4/IPv6 allowlists
curl -fsS https://api.impulsewatch.io/v1/locations \
-H "Authorization: Bearer iw_live_your_api_key"
REST API Endpoint Catalog
| Resource | Endpoints | Minimum Role |
|---|---|---|
| Monitors | GET|POST /v1/monitors, GET|PUT|DELETE /v1/monitors/{id}, GET /v1/monitors/{id}/sla | viewer / editor |
| Incidents | GET /v1/incidents, POST /v1/incidents/{id}/ack, POST /v1/incidents/{id}/resolve | viewer / editor |
| Alert Channels | GET|POST /v1/alert-channels, PUT|DELETE /v1/alert-channels/{id}, GET|PUT /v1/alert-channels/{id}/monitors | viewer / editor |
| Escalations | GET|POST /v1/escalations, PUT|DELETE /v1/escalations/{id} | viewer / editor |
| Status Pages | GET|POST /v1/status-pages, PUT|DELETE /v1/status-pages/{id} | viewer / editor |
| SLA Reports | GET|POST /v1/reports/sla, GET /v1/reports/sla/{id}/export (PDF/HTML/CSV) | viewer / admin |
| Audit Log | GET /v1/audit-log, GET /v1/audit-log/export.csv (OWASP-safe CSV) | admin |
| Verified Domains | GET|POST /v1/org/domains, POST /v1/org/domains/{id}/verify, DELETE /v1/org/domains/{id} | admin |
| SSO Connections | GET|POST /v1/org/sso/connections, PUT|DELETE /v1/org/sso/connections/{id}, POST .../test | admin |
| SCIM Tokens | GET|POST /v1/org/scim-tokens, DELETE /v1/org/scim-tokens/{id} (max 2 active) | admin |
| Org Users & Teams | GET /v1/org/users, POST /v1/org/users/{id}/revoke-sessions, GET|POST /v1/teams | admin |
Webhook Payloads & HMAC-SHA256 Verification
When you configure a Custom Webhook or Zapier / Make / n8n channel with a signing secret, ImpulseWatch signs the raw JSON request body using HMAC-SHA256 and attaches the hex digest in the X-ImpulseWatch-Signature header (sha256=<hex>).
Example Incident Webhook Payload
{
"event": "incident.opened",
"incident_id": "inc_01JFQ7M9A2K8X4V3N1P5",
"monitor_id": "mon_01JFQ2B8C9R4T6Y7U8I9",
"monitor_name": "Production Checkout API",
"target": "https://api.acme-corp.com/v1/checkout/health",
"status": "down",
"quorum_regions": ["us-central", "us-east"],
"error": "HTTP 503 Service Unavailable (expected [200])",
"started_at": "2026-12-04T21:14:02Z"
}
Verify X-ImpulseWatch-Signature in Node.js (Constant-Time)
import { createHmac, timingSafeEqual } from "node:crypto";
export function verifyImpulseWatchSignature(rawBody, headerSig, secret) {
if (!headerSig || !headerSig.startsWith("sha256=")) return false;
const expected = "sha256=" + createHmac("sha256", secret).update(rawBody).digest("hex");
const a = Buffer.from(headerSig, "utf8");
const b = Buffer.from(expected, "utf8");
return a.length === b.length && timingSafeEqual(a, b);
}
HTTP & Quota Error Codes
| Status | Meaning & Resolution |
|---|---|
400 Bad Request | Invalid JSON payload, unsupported monitor type, or failed target URL validation. |
401 Unauthorized | Missing, expired, revoked, or malformed Bearer iw_live_* key or SSO session. |
402 Payment Required | Plan quota reached (e.g., monitor limit, minimum interval, or SSO/SCIM feature requires Agency/Scale). |
403 Forbidden | Insufficient RBAC role (viewer/editor attempting an admin action) or suspended workspace. |
409 Conflict | Duplicate resource or attempted manual edit to a SCIM Managed team. |
429 Too Many Requests | Rate limit exceeded; honor the Retry-After response header with exponential backoff. |