Skip to main content
Rendobar POSTs JSON to your endpoint when a job changes status.

Set up a webhook

Required: name (1–50 chars), url (must be HTTPS), subscribedEvents (≥ 1). The response includes a signing secret (whsec_...). Store it. You’ll verify every payload against it. Manage endpoints (create, update, delete, test) via the API or the dashboard.

Events

Subscribe to any of these when you create an endpoint.

Payload

Every delivery is a versioned envelope. The envelope fields identify the event and delivery. The event-specific payload lives under data. For job events, data carries the same contract as GET /jobs/. A job.completed delivery. data.output is the unified job output. file.url is a signed, time-limited URL, and files lists every produced file. Read Job output for the full shape and the four output patterns.
The output shape is identical for every job type. A data-only job (such as extract.metadata) carries its answer in output.data with file null and files empty. A stream job carries the manifest as output.file and every segment in output.files. See Job output for each pattern. For job.failed, data carries error instead of output. The error matches the GET /jobs error shape: code, message, detail (the process stderr tail, or null), and retryable.

Verify the signature

The signature is HMAC-SHA256 over {timestamp}.{body} using your webhook secret. Timestamp-prefixed to prevent replays.
Always use a timing-safe comparison (timingSafeEqual / hmac.compare_digest). String equality leaks signature bytes through timing.

Secret rotation

Rotation has a 24-hour window. During it, Rendobar sends both X-Rendobar-Signature (new secret) and X-Rendobar-Signature-Previous (old). Verify against either.

SSRF protection

URLs must be HTTPS. Delivery to private/reserved ranges (10.x, 172.16-31.x, 192.168.x, 127.x, ::1) is blocked.

Retries

If your endpoint doesn’t return 2xx within 10 seconds, Rendobar retries up to 5 times with exponential backoff. The delay doubles each attempt and caps at 5 minutes. After the retries are exhausted the delivery is marked failed. A delivery whose status is failed or cancelled can be re-sent from the dashboard or the API. Inspect history:
An endpoint that fails 10 deliveries in a row is disabled automatically. Update or re-enable it to reset the counter.

Best practices

  • Return 200 fast. Process asynchronously. Long handlers trigger retries → duplicate deliveries.
  • Deduplicate on X-Rendobar-Delivery or jobId. Same event can arrive more than once.
  • Verify every signature before reading the body.

See also

  • Job lifecycle: what each status means before job.completed fires
  • Error codes: codes you’ll see inside job.failed payloads
  • FFmpeg: the job type that drives most webhook traffic
  • MCP overview: alternative push channel for AI agent clients
  • Changelog: webhook payload changes and new events