# GET /v1/events The account's notices, oldest first: the pull alternative to webhooks. | Access | | | --- | --- | | Keys | secret only | | Plan | every plan | | Environment | live and sandbox | | Acts for | the account | | While the account is suspended | refused | | During a data stop | works | ## Query | Name | Type | Description | | --- | --- | --- | | `after` | string | The id of the last notice you handled. The answer starts with the one after it. | | `types` | string | Only these notice types, separated by commas: saved_search.matches, favorite.listing_updated, favorite.listing_removed, listing.removed, account.suspended, account.reinstated, data.stale. | | `limit` | integer | Notices a page: 1 to 100. 100 when left out. | ## Answers ### 200: One page of notices. A page can be short, or empty, with hasMore still true The answer is `{ data, meta }`; `meta` holds `requestId`, `environment` and `page`. `data` is a list of [Notice](../objects.md#notice). `meta.page`: | Field | Type | Description | | --- | --- | --- | | `limit` | integer | | | `hasMore` | boolean | true: call again at once. false: wait, then call with the same `after`. | ## Errors | Status | Codes | | --- | --- | | 400 | [`validation_failed`](../../errors/validation_failed.md) | | 401 | [`invalid_api_key`](../../errors/invalid_api_key.md), [`key_revoked`](../../errors/key_revoked.md), [`missing_api_key`](../../errors/missing_api_key.md) | | 403 | [`account_pending`](../../errors/account_pending.md), [`account_suspended`](../../errors/account_suspended.md), [`origin_not_allowed`](../../errors/origin_not_allowed.md), [`secret_key_in_browser`](../../errors/secret_key_in_browser.md), [`secret_key_required`](../../errors/secret_key_required.md) | | 429 | [`rate_limited`](../../errors/rate_limited.md) | | 500 | [`internal_error`](../../errors/internal_error.md), [`temporarily_unavailable`](../../errors/temporarily_unavailable.md) | Every error has the same body, and says how to fix it ([responses and errors](../../concepts/responses-and-errors.md)). ## More Your account's [notices](../../concepts/webhooks.md), oldest first: the same JSON a webhook carries. Use it when your server has no public address for a webhook, or to catch up after your endpoint was down for longer than the 24 hours a delivery is retried. The list is the whole account's: `X-Client-Id` is not read, and a notice for a consumer carries its `clientId`. It holds only your account's notices, in the environment of the key. ``` GET /v1/events?after=evt_3yQ8mT1xKp7Zc2Nf5Rb9Wd&types=saved_search.matches,listing.removed&limit=100 ``` ```json { "data": [ { "id": "evt_…", "type": "listing.removed", "createdAt": "2026-11-13T15:00:00.000Z", "accountId": "…", "listingKeys": ["300451207716"], "changes": ["removed"] } ], "meta": { "requestId": "req_…", "environment": "live", "page": { "limit": 100, "hasMore": false } } } ``` ### Reading it 1. Call without `after` the first time. Handle each notice in order. 2. Remember the `id` of the last notice you handled, and pass it as `after` on the next call. 3. While `meta.page.hasMore` is `true`, call again at once. When it is `false`, wait (a minute is a sensible pace) and call again with the same `after`. **A page can come back short, or empty, with `hasMore` still `true`.** A notice gets its place in the list when the list is read, a bounded number per call. After a long gap, for instance when you have taken your notices by webhook until now, the list catches up a part at a time. Keep calling while `hasMore` is `true`: every call makes progress. **`after` can be the `id` of any notice of your account,** also one you received by webhook and have never seen in this list. You then get the notices that come after it; until the list has caught up to it, the page is empty and `hasMore` is `true`. **Nothing is skipped.** The list is in the order the API handed notices out, not strictly by `createdAt`: a notice that was recorded a moment late is placed after the ones already served, so a client paging with `after` always reaches it. Order by position in the list, and de-duplicate by `id` if you also receive webhooks. `after` keeps working when its notice is no longer listed: one that was deleted with its consumer or its saved search, or hidden by a reinstatement, still marks your place. ### What the list holds - **30 days.** A notice is deleted 30 days after it was recorded. - **`types`** filters the answer; `after` may name a notice of any type. - A [`ping`](../../concepts/webhooks.md#the-seven-types) is never in the list. - Deleting a consumer (`DELETE /v1/clients/{clientId}`) deletes that consumer's notices, and deleting a saved search deletes its `saved_search.matches` notices. - **After a reinstatement,** notices recorded more than 24 hours before it are no longer listed. [Re-check your stored listings](../../concepts/webhooks.md#suspension-and-reinstatement). ### When it refuses - `400 validation_failed` on `after` when it names no notice of your account: an ID that never existed, another account's, or a notice past its 30 days. **To recover, call again without `after`,** which starts at the oldest notice kept, and skip the IDs you have already handled. This happens to a reader that was stopped for more than 30 days. - `400 validation_failed` for a `limit` out of range, an unknown type in `types`, or a parameter other than these three. - [`403 account_suspended`](../../errors/account_suspended.md) while the account is suspended. - `500 temporarily_unavailable` with `Retry-After` when two readers of the same account call at the same moment and one would have to wait more than a second. Calling again is safe. Run one reader per account. _This page is made from the route's own declaration by `npm run openapi`. To change it, change the declaration or its explanation, never this file._