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 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, custom

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 public hash ids. E.g. properties[color]=RkJrQllReklDTmk0cmRtTUVMUGw2SWJKUStHTk1lZG5WMFppSUIzdmxvOD0=,czhlUW5yZXdNR0t5eW16T3A5OWx3RXJnV2FNaDNEc0J1K2FMdGFUSVRwMD0=

boolean

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

date

Parameter required when date_shortcut is set to custom. Filters answers only received after specific datetime. Format: 2021-10-24T03:30:30Z or 2021-10-24

date

Parameter required when date_shortcut is set to custom. Filters answers only received before specific datetime. Format: 2021-10-24T03:30:30Z or 2021-10-24

Headers
string
required
Defaults to Bearer <token>
Responses

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