Delivery
- Answer with any 2xx within 8 seconds.
- If you don’t, we retry after 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, then stop. A webhook failing for a week is switched off, and the Apps page says so.
- Retries send the same event id, so use it to ignore repeats.
- Addresses must be https and on the public internet. Press Send test on the Apps page to try yours.
Headers
Launch529-Event: the event name.Launch529-Delivery: this delivery’s id.Launch529-Timestamp: seconds since 1970.Launch529-Signature: v1= and a hex HMAC-SHA256 of timestamp.body, signed with your webhook’s secret.
Zapier and Make don’t need the signature. It lets your own receiver confirm a request came from Launch529. The secret is shown once, when you add the webhook.
Check the signature
import { createHmac, timingSafeEqual } from "node:crypto";
export function verify(secret, headers, rawBody) {
const ts = headers["launch529-timestamp"];
const expected = "v1=" + createHmac("sha256", secret).update(ts + "." + rawBody).digest("hex");
const given = headers["launch529-signature"];
const fresh = Math.abs(Date.now() / 1000 - Number(ts)) < 300;
return fresh && expected.length === given.length && timingSafeEqual(Buffer.from(expected), Buffer.from(given));
}
import hashlib, hmac, time
def verify(secret: str, headers: dict, raw_body: bytes) -> bool:
ts = headers["Launch529-Timestamp"]
expected = "v1=" + hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
fresh = abs(time.time() - int(ts)) < 300
return fresh and hmac.compare_digest(expected, headers["Launch529-Signature"])