Mising pagination in Form Responses API

  • 25 August 2023
  • 2 replies
  • 95 views

Hi,

It’s seems that the Form Responses API does not support pagination. I tried reverse-engineering a few classic parameters (like page or offset) to see if it was a missing documentation piece, but it appears not.

It does have a page_size response parameter (limited to 1000) and it’s recommended to play with the other filtering params if we reach this max page number. 

The lack of simple pagination API for “Form Responses” is a bit puzzling and the above recommendation doesn’t really allow to build a robust fetching behavior. It’s particularly sad since the “Form” API does support pagination (and my guess is that number of forms will be in average much smaller than the number of form responses).

Is adding pagination a planned feature?
What’s the best way to request such a feature and track it?

Thanks!
Vince


2 replies

Userlevel 7
Badge +5

Tagging @mathio for visibility!

Userlevel 7
Badge +5

Hello @vincerelay 

I think you can use “before” and “after” query parameters to navigate your results:

  1. fetch responses from the Responses API endpoint
  2. identify “token” of the last response
  3. use this “token” as value for “after” query parameter in your next API request
  4. this will fetch next set of responses

Reply