Pagination
How list endpoints page results with a cursor, and how to loop through every page.
List endpoints that can grow large return one page at a time.
Do not build or parse cursors. Their format can change. A cursor you did not get from the API answers 400 invalid_cursor.
Which endpoints page
Other lists return everything in one answer as { "items": [...] } with no nextCursor: carousel templates, content styles, and the post timeline (published posts of the last 90 days plus scheduled posts, up to 100).
Filter posts
An unknown value answers 400 validation_error with the allowed values in details.issues.
Example
Each item is the full post, shortened here. Next page:
Loop through every page
Each page is one request and counts against your rate limits. Use the largest limit you need to keep the number of requests low.