Skip to main content
Every list has the same shape:
object names the list, data holds the items, and has_more is true when there are more items after this page. Lists are paged in one of two ways: Both kinds take limit: items per page, 1 to 250. Default 50.

Offset paging

Skip the items you already have with offset:
While has_more is true, raise offset by limit for the next page (offset=100, then offset=200 …).

Cursor paging

Cursor lists also return a cursor:
Pass cursor back to get the next page, with the same filters:
When has_more is false, you’ve reached the last page, and cursor is null. Email and draft cursors point at the last email returned, not at a page number. Mail that arrives while you page doesn’t shift the pages, so you never get an email twice or skip one. A limit out of range, a negative offset, or a broken cursor gets 400 errors/invalid_parameters.