Skip to main content

SurveyResponse

Raw question answer returned by surveyResultSummary.questions.lastResponses.

type SurveyResponse {
responseGroupId: String!
formatVersion: Int!
sessionId: String
visitorId: String
identifier: String
textResponse: String
otherResponse: String
integerResponse: Int
sentiment: String
language: String
createdAt: Int!
}

Fields​

SurveyResponse.responseGroupId ● String! non-null scalar​

Response-group ID accepted by surveyResponseDelete.

SurveyResponse.formatVersion ● Int! non-null scalar​

Survey content format version at submission.

SurveyResponse.sessionId ● String scalar​

Raw recording session ID; null when absent, not the hashed ID accepted by recording.

SurveyResponse.visitorId ● String scalar​

Visitor ID; null when not captured.

SurveyResponse.identifier ● String scalar​

Custom visitor identifier; null when not captured.

SurveyResponse.textResponse ● String scalar​

Text or selected option for this answer row; null without a text answer.

SurveyResponse.otherResponse ● String scalar​

Free-text other answer; null when not supplied.

SurveyResponse.integerResponse ● Int scalar​

Numeric answer, such as a rating; null without a numeric answer.

SurveyResponse.sentiment ● String scalar​

Stored sentiment label; null when not classified.

SurveyResponse.language ● String scalar​

Captured response language; null when unavailable.

SurveyResponse.createdAt ● Int! non-null scalar​

Response-group creation time in Unix seconds.

Member Of​

SurveyResultQuestionSummary object