Docs
Survey results

Export responses as CSV

GET/surveys/{id}/responses/exportNeedsanalytics.export

One row per response, one column per question; at most 50,000 rows. 30 exports an hour per workspace.

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Path Parameters

id*integer

The survey's id.

Range1 <= value

Query Parameters

days?integer

Time window in days.

Default30
Value in73090
environment?string

Which environment's responses.

Default"production"
Value in"production""staging"
group?string

NPS group.

Value in"promoter""passive""detractor"
status?string

Completed or partial.

Value in"completed""partial"
q?string

Search text answers.

Response Body

CSV file (UTF-8 with BOM)

response?stringtext/csv
Shell
curl -X GET 'https://app.cueston.com/api/surveys/1/responses/export'
Example Response
JSON
"string"