v4

OpenAPI 3.1.02026-07-31121440441.0 KB
submissionFeedbackUpload

Request a feedback upload URL

Request a temporary, pre-signed URL to upload a feedback file for your completed studies.

This is the first step of a two-step upload process:

  1. Call this endpoint to receive a pre-signed upload_url.
  2. Upload your file directly to that URL with an HTTP PUT request before it expires.
<Note> Supported file formats are CSV, XLS, XLSX, JSON, TXT and PDF. The maximum file size is 5GB. Please check the [supported file formats](/api-reference/submission-feedback-upload#supported-file-formats) section for more details. </Note>
get/api/v1/submissions/signals/upload-url/{filename}

Path parameters

filenamestring required

The name of the file you want to upload, including its extension (e.g. participant_feedback.csv).

Query parameters

workspace_idstring required

The ID of the Prolific workspace the feedback belongs to.

Headers

Authorizationstring required

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>.

Response

Pre-signed upload URL generated successfully.

upload_urlstring

The temporary, pre-signed URL to upload your file to with an HTTP PUT request.

http_method'PUT'

The HTTP method to use when uploading to upload_url.

expires_atstring date-time

The time at which the pre-signed upload_url expires.