List Survey Responses
list_survey_responsesReturns all responses of a survey as a tabular data set: Questions describes the columns (question variables Q1…Qn, A/B tests T1…Tn), Cases holds one row per response, newest first. Filters combine: FromDate/ToDate compare against each response's StartDate (inclusive; send explicit-offset timestamps — UTC 'Z' — or they are read in server-local time); ChangedSince returns only responses created or changed at or after the given moment; because persistence is asynchronous, incremental reads use an overlapping window and are de-duplicated by resultCaseID, each response's stable identifier; Device narrows to a device bucket (monitor/tablet/cellphone), Source to a traffic source (responses submitted via this API are 'external'). Counted against the heavy rate class (600 requests/hour). For large data sets export_survey_responses returns the same data as a temporary file link. The column definitions in Questions (variable names, question types, option codes) are the key to interpreting each row; the same structure is returned by get_survey. Respondent contact / personal data is not returned through this API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Survey publication code — the 8-character code from the survey's public link (e.g. 1a2b3c4d). Returned by list_surveys. | |
| filter | Yes | Filters, all optional and combinable: FromDate/ToDate (StartDate window), ChangedSince (delta-sync bound), Device (monitor/tablet/cellphone), Source (link/email/external/…). Pass an empty object for everything. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | No | One row per response, newest first. | |
| questions | No | The columns: question variables (Q1…Qn) and A/B tests (T1…Tn) with their types and option codes. |