Documentation › Notifications
Events
The account event log, with cursor pagination and 90 days of retention.
The account's event log: every event, with or without a webhook, in order.
Read it with GET /v1/eventos?apos=<cursor> and store the proximo_cursor of
each response (it comes even when the page is empty). Events come in order,
and the cursor only moves forward; never paginate by date.
The cursor is an opaque string: store it and send it back exactly as it came,
without interpreting it. Each event's seq is the same kind of cursor. Until
02/10/2026 it was a number; a numeric cursor stored before that is still
accepted in apos.
Without apos, reading starts at the oldest event still stored. Filter by
type with tipos (comma-separated). Each event carries id (the same
X-Sudrel-Event-Id as the webhook), tipo, ocorrido_em, ambiente,
empresa_id, recurso (tipo, id and url to read the current state) and
dados.
dados is filled in when the body was stored (a webhook was subscribed to the
type, and always for received documents); otherwise it is null and
recurso.url says where to read the current state.
Retention: 90 days. A cursor older than that returns 410
cursor_vencido, with cursor_mais_antigo: continue from it and check
through the read routes what may have changed in the gap.
Endpoints in this section, with in-page testing
- GET/v1/eventos · Account event log, by cursor