Answer quickly#
Answer with any 2xx status within 10 seconds. Verify the signature, save the event, answer, and do the work afterwards.
Anything else is a failure: another status, including redirects (they aren't followed), no answer in time, or a URL that can't be reached. The response body is ignored.
Timing#
Events wait at least 20 seconds before they are sent. Jemero then checks for due events regularly. There is no maximum delay: bursts, a busy server or other slow endpoints can make delivery much later. Don't use webhooks for anything that needs an immediate answer.
Order#
Each webhook receives its events one at a time, oldest first. While one event is failing, later events for that webhook wait. One bad event can hold up all the others, so don't answer with an error for events you simply want to ignore: answer 2xx.
Order isn't guaranteed between different webhooks. If order matters to your data, compare eventDate and record.updatedAt rather than relying on arrival order.
Retries#
| Failed attempts in a row | Wait before the next |
|---|---|
| 1 | 30 seconds |
| 2 | 1 minute |
| 3 | 2 minutes |
| 4 | 4 minutes |
| 5, 6, 7 | 8, 16, 32 minutes |
| 8 or more | 1 hour |
These are minimum waits. Retries continue with no set end, and Jemero doesn't disable a failing webhook or send you an alert. Delete webhooks you no longer use. A successful delivery resets the count, and the waiting events follow.
Editing the webhook's URL or events in Settings clears the wait.
Each attempt has a new timestamp and signature.
Duplicates#
Delivery is not exactly-once. You can receive an event again, for example when your endpoint did the work but answered too late, or when Jemero stopped between sending an event and recording that it had.
Make your handler safe to run twice. Events have no ID, so build a key from the payload:
function dedupeKey(payload) {
return [payload.webhookId, payload.event, payload.record?.id, payload.eventDate].join('|');
}
console.log(dedupeKey({ webhookId: 'w', event: 'people.updated', record: { id: 'r' }, eventDate: 'd' }));This works for the same webhook's repeated deliveries. Don't build the key from the whole body: record can differ between attempts. Two identical subscriptions have different webhookId values, so avoid subscribing twice.
The safest design is to treat an event as a notice that something changed, then read the record and store its current state.
Delivery logs#
Settings → Logs → Webhooks lists each attempt: time, webhook, event, whether it succeeded, the status code, any error and how long it took. Request and response bodies aren't kept. Attempts are kept for 7 days. The webhook list in Settings also shows each webhook's latest error.
Missed events#
There is no replay or redelivery button. Because retries continue, events wait while your endpoint is down and arrive in order once it recovers. If you deleted a webhook, or answered 2xx and then lost the data, read the records again with the API.