Webhooks
Reelpipe sends signed HTTP POST callbacks following the Standard Webhooks specification.
Events & payload
When a render finishes with a per-render webhook_url or your account's default webhook URL configured, Reelpipe emits one of three events: render.done, render.failed, or render.canceled. Only https:// URLs resolving to public IP addresses are accepted.
{ "type": "render.done", "data": { "id": "8c5f6c1a-4b7d-4e92-9f21-3a0d8f21b41e", "status": "done", "output_url": "https://storage.example.com/signed/render.mp4", "duration_seconds": 11.84, "billed_seconds": 12, "error": null, "metadata": { "episode": 42 }, "created_at": "2026-11-26T10:30:00.000Z", "finished_at": "2026-11-26T10:30:19.000Z" }}Headers & signature verification
Every request carries webhook-id, webhook-timestamp (Unix seconds), and webhook-signature. Strip the whsec_ prefix from your signing secret, base64-decode it to raw key bytes, and compute HMAC-SHA256(key, "${id}.${timestamp}.${rawBody}").
import crypto from "node:crypto"; export function verifyReelpipeWebhook({ secret, id, timestamp, rawBody, signatureHeader }) { const nowSec = Math.floor(Date.now() / 1000); if (Math.abs(nowSec - Number(timestamp)) > 300) { return false; // Reject stale timestamps (> 5 minutes) } const secretBytes = Buffer.from(secret.replace(/^whsec_/, ""), "base64"); const signedContent = `${id}.${timestamp}.${rawBody}`; const digest = crypto.createHmac("sha256", secretBytes).update(signedContent).digest("base64"); const expected = Buffer.from(`v1,${digest}`); return signatureHeader .trim() .split(/\s+/) .some((candidate) => { const buf = Buffer.from(candidate); return buf.length === expected.length && crypto.timingSafeEqual(buf, expected); });}Retry schedule
Webhook requests time out after 10 seconds; any 2xx status marks the delivery succeeded. Non-2xx responses and network errors are retried up to 5 times after the initial attempt:
Rotating your signing secret
Open Dashboard → Webhooks to reveal your signing secret once or click Rotate secret. Rotating immediately generates a new whsec_... secret server-side, displays it once, and signs all subsequent deliveries and manual resends with the new secret. Update your receiver's environment variable right after rotating.