secret (starting whsec_). It is shown once; store it securely.
Events
Full payload schemas are in the API reference.
Payload
Every event uses the same envelope:Verifying signatures
Each request carries aLula-Signature header:
{t}.{raw request body} using your endpoint secret and compare it to v1 with a constant-time comparison. Reject requests where t is more than five minutes old.
Delivery and retries
- Respond with any
2xxwithin 10 seconds. Do the work asynchronously if it takes longer. - Failed deliveries are retried with exponential backoff for up to 24 hours.
- Events can arrive more than once and out of order. Use
idto de-duplicate andcreated_ator the resource’supdated_atto order them. - An endpoint that keeps failing for 72 hours is disabled and your account contacts are notified. Re-enable it with
PATCH /webhooks/{endpoint_id}. - Use
POST /webhooks/{endpoint_id}/testto send a signed sample of any event.
Event history and replay
Every event from the last 30 days is available withGET /events, filtered by type, store, and time. Use it to reconcile your systems against Lula or to catch up after downtime. To have Lula redeliver instead, call POST /webhooks/{endpoint_id}/replay with a since time.
