data, and a nextCursor you pass to the next request.
A page
Query parameters
Page size,
1–100. Defaults to a sensible value (typically 20) when omitted.The
nextCursor from the previous response. Omit it to start at the first page. Cursors are opaque — don’t construct or parse them.status or q on GET /v1/emails) combine with limit and cursor. Keep the filters identical across calls in a walk — a cursor is only valid for the same query it was issued from.
Walking a list
Request a page, processdata, then repeat with ?cursor=<nextCursor> until nextCursor comes back null.
End of the list
When there are no more results,nextCursor is null. That is the only end-of-list signal — don’t rely on data being shorter than limit, which can happen mid-list.
The final page
Stable ordering. Pages are ordered newest-first by creation time. Because the cursor is anchored to a row rather than an offset, inserting new rows while you paginate won’t shift or duplicate results across pages.
