Get all responses
GET/v3/responses
Get all responses
Request
Query Parameters
Possible values: >= 1 and <= 200
Default value: 50
Filter using contact properties. Custom contact properties are not supported. Encode parameters when using special characters.
Filter using custom variables. Encode parameters when using special characters. Provide the date values in either MM-DD-YYYY or YYYY-MM-DD format.
Possible values: >= 1
Possible values: [started, completed, all]
Possible values: [startTime, id, completedTime]
Default value: completedTime
Possible values: [ASC, DESC]
Default value: DESC
Responses
- 200
Successful
- */*
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
data
object[]
Id of response
Id of Survey
Status of the submission
Id of channel
Language of the response
Time at which response completed
answers
object[]
Question tags
Is the question skipped?
Sentiment value of the text answer
Overall sentiment label of the text answer
Enrich type. CLASSIFICATION, KEYWORD_EXTRACTION, ENTITY_EXTRACTION and TOPIC_EXTRACTION return an array; SUMMARY, SENTIMENT, TRANSLATION, CUSTOM_PROMPT and ENRICH_FORMULA return a single value
Configured output datatype - STRING, NUMBER or BOOLEAN
Present only when the value could not be generated; the answer is then empty
Possible values: [AI_PROCESSING_FAILED, AI_CREDITS_EXHAUSTED, NO_INPUT_FOUND, PLAN_UPGRADE_REQUIRED]
Why the Enrich value is missing
Present only when generation stopped because AI credits ran out
channel
object
Name of the share
Type of channel
Status of channel
{
"total_count": 100,
"has_next_page": true,
"data": [
{
"id": 1,
"survey_id": 2,
"contact_id": 0,
"completed": "string",
"channel_id": 3,
"language": "en",
"completed_time": "2022-03-03T06:19:04.416Z",
"answers": [
{
"question": "How likely are you to recommend our Product to friends?",
"question_tags": [
"string"
],
"question_id": 0,
"skipped": false,
"sentiment_value": 0.82,
"sentiment_label": "Positive",
"enrich_type": "SENTIMENT",
"output_datatype": "STRING",
"error": true,
"error_reason": "AI_PROCESSING_FAILED",
"credit_exhausted": true
}
],
"channel": {
"name": "Email share 1",
"type": "EMAIL",
"status": "ACTIVE"
}
}
]
}