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:
- Call this endpoint to receive a pre-signed
upload_url. - Upload your file directly to that URL with an HTTP
PUTrequest before it expires.
Supported file formats are CSV, XLS, XLSX, JSON, TXT and PDF. The maximum file size is 5GB. Please check the supported file formats section for more details.
Authentication
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
The name of the file you want to upload, including its extension (e.g. participant_feedback.csv).
Query parameters
Response
Pre-signed upload URL generated successfully.
The temporary, pre-signed URL to upload your file to with an HTTP PUT request.
The HTTP method to use when uploading to upload_url.
The time at which the pre-signed upload_url expires.