Concepts
Pagination
Cursors
A paged list answers with items and nextCursor. To get the next page, send the same request again with cursor set to the nextCursor you got. nextCursor is null on the last page.
Keep the same filters and sort on every page. A cursor only works with the list it came from.
curl "$AYEFORM_API/v1/submissions?formId=$FORM_ID&cursor=$NEXT_CURSOR" \
-H "Authorization: Bearer $AYEFORM_KEY"Short pages
A page can hold fewer items than you asked for, or none, while nextCursor is not null. With search, each page checks limit responses and returns only the ones that match. Webhook delivery logs leave out deliveries of responses older than the plan shows. See Plan history and retention. Keep going until nextCursor is null.