POST
/
v011

Headers

api_key
string
required

API key for authentication. Include this in the header of your request.

Body

application/json
participant_id
string
required

A unique identifier for the participant.

questions
object
required

Contains the survey questions. Each key is the id of the question, and the values are the text of the open-ended survey questions as shown to the participant.

responses
object
required

Records the participant's final responses to each question.

survey_id
string
required

A unique identifier for the survey.

question_histories
object

Records the changes made by the participant while answering the survey. Each key is the id of the question, and the value is the array of changes generated by our Javascript tracker.

Response

200 - application/json
error
boolean

Indicates if there was an error in processing the request.

flagged
boolean

Indicates if any fraudulent activity was detected. If true, we recommend reviewing the participant's responses.

num_checks_failed
integer

Number of checks that failed.

checks
string[]

Details of specific checks and their outcomes. Includes various checks like automated tests and response analysis.

warning
string

A message that provides additional context or information about potential issues detected during the request processing. Only returned if there is a warning.