Handling event order with X-Timestamp

View as MarkdownOpen in Claude

The X-Timestamp header is added to the request. It contains a UNIX timestamp indicating when the event was sent.

You can use this timestamp to determine if you are processing an out-of-order update. In some cases, you may want to ignore older events and only process the latest event.

As a webhook system, we do not guarantee the order of events. This can be affected by multiple factors such as errors sending events and retrying after a delay, where a newer event may have already been sent.