Create response

View as MarkdownOpen in Claude
Create a Response for a survey.

Authentication

Authorizationstring
The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings. Your API token does not have an expiry date and carries full permission, so be sure to keep them secure. If your token is leaked, delete it and create a new one directly in the app. In your requests add `Authorization` header with the value `Token <your token>`.

Path Parameters

survey_idstringRequired

Request

This endpoint expects an object.
participant_idstringRequired
The Prolific participant ID.
submission_idstringRequired
The Prolific submission ID.
sectionslist of objectsOptional

An array of sections from the survey, otherwise use questions.

questionslist of objectsOptional

An array of questions from the survey, otherwise use sections.

Response

Successful Response
participant_idstring
The Prolific participant ID.
submission_idstring
The Prolific submission ID.
_idstring or null
date_createddatetime or null

The date/time the response was created (UTC).

date_modifieddatetime or null

The date/time the response was modified (UTC).

sectionslist of objects or null

An array of sections from the survey, otherwise questions.

questionslist of objects or null

An array of questions from the survey, otherwise sections.

Errors