get https://my.surveypal.com/api/rest/survey//answer/count
Get answer counts for the survey.
Fetch amount of answer for the requested survey. Can be filtered based on answer channel, answer state and answer date.
If you get "HTTP 502 Proxy Error" then you have too much responses to return in one request. You must use parameters from & to.
curl -i -X GET \
-H "Authorization: Basic YOUR-USERNAME-AND-TOKEN-BASE64-ENCODED" \
-H "Accept:application/json" \
'https://my.surveypal.com/api/rest/survey/:id/answerCount?state=:state&channel=:channel'