Webhooks
Podsteps sends events to an https endpoint you run, signed so you know they came from Podsteps.
Set it up
- In Podsteps: Integrations → Your own endpoint, paste your https address, Connect.
- Copy the signing secret (
whps_…, shown once). - Choose events and fields; press Send a test.
Rules: https on port 443, a public name (no IP addresses, no localhost or internal names); Podsteps checks the address again right before each send and never follows redirects.
Events
lead.created | A website form brings a new lead |
site.published | A website is published |
deploy.failed | A publish fails |
doctor.critical | Project Doctor finds a critical problem |
domain.renewal_due | A domain is due for renewal in 30 days |
What arrives
POST /your/path
Content-Type: application/json
X-Podsteps-Event: lead.created
X-Podsteps-Delivery: 7c0e… (the same id on a retry: use it to ignore duplicates)
X-Podsteps-Signature: t=1760550000,v1=5f2b…
{"id":"7c0e…","event":"lead.created","occurred_at":"2026-10-15T18:00:00Z","data":{"name":"Ana","email":"ana@example.com"}}Only the fields you chose are sent. Answer with any 2xx within 15 seconds; 429 and 5xx are retried with back-off; 404 and 410 switch the connection off.
Check the signature
import crypto from "node:crypto";
export function verify(rawBody, header, secret, toleranceSec = 300) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
if (Math.abs(Date.now() / 1000 - Number(parts.t)) > toleranceSec) return false;
const mac = crypto.createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
return crypto.timingSafeEqual(Buffer.from(mac), Buffer.from(parts.v1 ?? ""));
}import hmac, hashlib, time
def verify(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
if abs(time.time() - int(parts["t"])) > tolerance:
return False
mac = hmac.new(secret.encode(), f"{parts['t']}.".encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(mac, parts.get("v1", ""))