Webhook Replay
Recover when your webhook was down.
Linje records webhook attempts for inbound email and outbound delivery events. When a downstream endpoint fails, replay the existing record instead of asking the sender to try again.
Inbound
Replay an inbound email webhook.
curl -fsS \
-X POST \
-H "Authorization: Bearer $LINJE_PROJECT_TOKEN" \
https://api.linje.systems/v1/inbound/messages/<inbound-id>/replay
Outbound
Replay a message lifecycle event.
curl -fsS \
-X POST \
-H "Authorization: Bearer $LINJE_PROJECT_TOKEN" \
https://api.linje.systems/v1/events/<event-id>/replay
Idempotency
Webhook delivery is at least once.
Use stable event ids to dedupe in your application. Delivery ids are useful for logs, but each retry receives a new delivery id.