Idempotency and the X-Event-ID Header
X-Event-ID is added as a header to the request. It is a unique identifier assigned to each event.
- Uniqueness: Each
X-Event-IDvalue will be globally unique for each event that occurs. - Re-Delivery: Events are delivered at least once. We will redeliver events on failure due to network issues, timeouts and listener errors. The
X-Event-IDwill remain the same across retries. - Idempotent Processing: We recommend that you use the
X-Event-IDto handle events in an idempotent way. If you encounter the sameX-Event-IDagain, simply skip and acknowledge the duplicate event rather than processing it a second time.