List events
Read the webhook event feed by polling, in sequence order.
Returns the same envelopes that are posted to webhook destinations, oldest first by sequence. Use it to catch up after your receiver was down, to reconcile, or instead of webhooks when you cannot expose a URL.
Start with since=0, then pass pagination.nextSince as since until pagination.hasMore is false. Store the last nextSince and resume from it next time. sequence strictly increases per tenant but can have gaps. An overlap when resuming is harmless: deduplicate on the event id.
Events are recorded only while an active destination or an enabled notification rule is subscribed to their type. An event becomes readable about 15 seconds after it is created (meta.settleSeconds) and stays readable for at least 45 days (meta.minRetentionDays). Pagination sits next to data, not inside it.
See also
- Webhooks . Event types and the payload of each.
Query parameters
| Name | Type | Required |
|---|---|---|
sinceReturn events with a sequence strictly greater than this. Default 0 (from the oldest kept). Example: 1234500 | string No maximum | Optional |
limitEvents per page. Default 100, maximum 500. Example: 100 | integer | Optional |
typeOnly this event type, for example Example: invoice.settled | string Max 120 | Optional |
Errors
This operation can return the following errors in addition to generic HTTP failures.
| Error | HTTP code | Description |
|---|---|---|
Missing Bearer token | 401 | The Authorization header is missing or is not a Bearer token. |
Invalid or revoked API key | 401 | The API key is unknown, malformed, expired, or has been revoked. |
API key is missing scope events:read | 403 | The key does not include events:read. A write scope does not imply the matching read scope. |
Too many requests, please try again later | 429 | More than 100 requests in one minute from this API key or IP address. Wait for the Retry-After header (seconds) and retry. |
Unknown event type: … | 400 | type is not one of the event types listed on the Webhooks page. |
Invalid query parameters | 400 | since is not a sequence number, or limit is outside 1 to 500. details lists field and message. |
Internal server error | 500 | Unexpected server error. The JSON body includes correlationId. Retry with backoff. |