list endpoints (GET /messages, GET /contacts, GET /templates, and so on) share the same cursor-based pagination.
Request parameters
Response shape
has_more is true if there are additional results after the ones returned. When it’s false, you’ve reached the end of the list.
Paging through every result
Lists are always ordered most-recent-first by creation time. There is no way to page backwards from a cursor — request the previous page again without
starting_after advanced as far, or store cursors as you go.