Receive webhooks
Get told when dubs, transcripts and exports finish, and verify that it was Leelo that sent it.
Add an endpoint in Developers → Webhooks and choose events: dub.completed, dub.failed, transcription.completed, export.completed, credits.low, credits.depleted, or all of them. Up to 10 endpoints.
Verifying
Each delivery has a Leelo-Signature header, t=…,v1=…: an HMAC-SHA256 of the timestamp, a full stop and the raw body, made with your endpoint's whsec_ secret. Recompute it, compare, and refuse anything older than five minutes. Leelo-Event and Leelo-Delivery name the event and the delivery.
A failed delivery is retried after 1, 5, 30, 120, 360, 720 and 1,440 minutes, then marked failed.
Was this helpful?

