Skip to main content
Every list endpoint returns the same shape and takes the same three parameters.
Lists are ordered newest first. starting_after and ending_before can’t be combined.

Walk a list

Request the first page, then pass the ID of its last object as starting_after until has_more is false.
Keep the same filters on every page. Objects created while you’re paging appear at the front of the list, so they don’t shift the pages you haven’t read yet.

The exception

GET /pay_periods lists dates Hammock computes from a pay schedule, not stored objects. It takes from and to in place of cursors and returns every period in the range, earliest first.