Productive icon

Productive

Interact with the Productive API

Actions508

Survey Responses → Get survey responses

AI-generated

Summary

Retrieve survey responses from Productive, supporting filtering, sorting, pagination, and the option to return all responses at once.

Inputs

  • Return All — Whether to return all results or only up to a given limit.
  • Limit — Maximum number of survey responses to return when not returning all.
  • Page Number — Page number to retrieve when pagination is enabled (default 1).
  • Page Size — Number of survey responses per page when paginating (default 30, max 200).
  • Filter Query String — Literal filter query string that overrides other filters when provided (e.g., filter[field_name]=value).
  • Filters — One or more filters based on fields such as Created At, Creator ID, ID, or Survey ID with operations like equals or contains (ignored if Filter Query String is used).
  • Sort By — Field to sort the results by (e.g., Created At, Creator ID, Survey ID).
  • Sort Order — Sort direction, either ascending or descending.

Output shape

A list of survey response records as JSON objects.

If 'Return All' is true, all matching survey responses are returned; otherwise, results respect pagination parameters (Page Number and Page Size). Filtering is applied either using the provided Filter Query String or the set Filters, but not both. Sorting applies according to chosen Sort By and Sort Order options.

Discussion