Skip to main content
Because webhook delivery is at least once, not exactly once, Routa gives you a second way to check what happened: GET /v1/events. It turns hours of downtime into a deterministic recovery, with no help needed from support.
Required scope: events:read.

When to use it

  • Your server was down longer than the retry window (about 20 hours).
  • You suspect gaps between the events you received and what happened.
  • You are connecting a new integration and want to load the history.
  • You want a periodic check job as a safety net.

How it works

Store the id of the last event you processed. Ask for the following events with after. Repeat while has_more is true.
Response
Events come back in ascending sequence order. If the after event does not exist, the API returns 404 event_not_found.

Process idempotently

Events from this route are the same ones the webhook delivers, with the same id. If you received an event by webhook and also see it in the query, deduplicating by id keeps you from processing it twice.
1

Store the id

Before you apply the effect, record the event id in a table with a unique key, in the same transaction as the effect.
2

Ignore repeats

If the id already exists, skip the event.
3

Respect the monotonic status

For message events, only move the status forward. Never move it back.

Retention

Events are available for 90 days. Reconcile within that period.