next_cursor is null on the last page. Treat cursors as opaque strings. Don’t build them yourself or keep them for long periods.
Walk every page
Filters
Many list endpoints accept filters next tolimit and after. Calls accept status, direction, campaign_id, since and until, for example. Keep the filters the same while you follow a cursor.