SurveysIdResults
Get survey results
Per-question results: counts for choice, rating and NPS questions (with the NPS score), latest answers for text questions. reached counts respondents shown each question, fewer than the total on a branching survey.
Authorization
BearerAuth AuthorizationBearer <token>
Use an API key from the Produktly dashboard → Settings → API keys.
In: header
Path Parameters
id*integer
Range
0 < valueQuery Parameters
startDate?string
endDate?string
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/surveys/1/results"{ "surveyId": 0, "name": "string", "totalResponses": 0, "questions": [ { "questionId": "string", "question": "string", "type": "string", "reached": 0, "answered": 0, "counts": { "property1": 0, "property2": 0 }, "nps": { "score": 0, "promoters": 0, "passives": 0, "detractors": 0 }, "latestAnswers": [ "string" ], "otherLabel": "string", "otherAnswers": [ "string" ] } ], "dashboardUrl": "string"}