Get Answers

This endpoint is used for fetching survey answers along with basic survey data and aggregated NPS scores.

Path Params
string
required

Unique ID of a survey

Query Params
string
Defaults to plugin.key

Concatenation of the plugin identifier and a unique user key.

string
Defaults to all_time

Date range for which we want to fetch answers. Allowed values: today, yesterday, last_week, last_month, last_7_days, last_30_days, all_time

string

Comment content filter for the answers.

string

Result sort. Allowed values: rating, inserted_at

string
Defaults to desc

Sort answer ascending or descending. Allowed values: asc, desc

boolean

Filters answer with comments only. Allowed values: true, false

string

Filters particular answers type only. Allowed values: detractors, passives, promoters

int32
Defaults to 1

Number of the page of the results you would like to get.

string

Filter by properties. The key should be the name of the property, the value should be a list of comma-separated property ids. E.g. properties[color]=1,3,5

boolean

Value true returns only answers with identity. Value false returns only answers without identity.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json