Produktly docs
SurveysIdResponses

List survey responses

GET
/surveys/{id}/responses

Newest first. Each response carries its answers with the current question text.

Authorization

BearerAuth
AuthorizationBearer <token>

Use an API key from the Produktly dashboard → Settings → API keys.

In: header

Path Parameters

id*integer
Range0 < value

Query Parameters

limit?integer
Range0 < value <= 100
Default50
offset?|
Range0 <= value
Default0
startDate?string
endDate?string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/surveys/1/responses"
{  "data": [    {      "id": 0,      "createdAt": "2019-08-24T14:15:22Z",      "email": "string",      "userId": "string",      "language": "string",      "device": "string",      "url": "string",      "askedQuestionIds": [        "string"      ],      "answers": [        {          "questionId": "string",          "question": "string",          "type": "string",          "value": "string",          "values": [            "string"          ],          "otherText": "string"        }      ]    }  ],  "pagination": {    "total": 0,    "limit": 0,    "offset": 0  }}