API filtering by [question(n)] returns HTTP 400 “Missing / Incorrect Parameters”


I’m trying to perform a filtering of survey results, but it seems that using a [question(n)] as the field causes a 400 error.

My parameters are “filter[field][0]=[question(13)]&filter[operator][0]=>=&filter[value][0]=Yes”, sending them to https://restapi.surveygizmo.com/v5/survey/xxxxxx/surveyresponse. Swapping the field for other options, such as date submitted or status, works as expected.

Lola Gill answered
    Lola Gill 6.99K Rep.

    Might this be due to the operator parameter. In your example it looks like your operator is >=, an I am not exactly sure that would work with a value of ‘Yes’.

    Are you just looking to return responses that said “Yes”? If so, an operator of simply = should work.

    I hope this helps!

    Lola Gill answered


      Question stats

      • Active
      • Views4445 times
      • Answers1 answer
      • Followers1 follower