Skip to main content

Collect files from respondents

A File Upload question lets people attach documents and photos to their answer. This guide covers what respondents can upload, how Pollarix checks and protects each file, and how you open the files later. You need a Pro or Enterprise plan.

Add a file question​

To ask for a file, add a File Upload question in the survey editor, the same way you add any other question. See Build surveys for the editor basics.

Respondents pick a file or drag it onto the question. They see a "scanning" label while Pollarix checks the file, and they can submit once it's done.

What respondents can upload​

LimitValue
File typesJPEG, PNG, WebP, PDF, Word (.docx), Excel (.xlsx)
Size10 MB per file
Files per question5
Files per response20 files, 100 MB in total

Photos are re-encoded in the respondent's browser before upload, which removes embedded metadata such as the location the photo was taken.

How each file is checked​

Every file goes through two checks before it counts as part of an answer:

  1. Malware scan. Amazon GuardDuty scans the file. A file with malware is deleted, and the respondent sees a message saying why.
  2. Content check. Pollarix confirms the file really is the type it claims to be. Word and Excel files with macros or links to outside content are refused, and so are oversized images and compressed-file bombs.

If a check refuses a file, the respondent sees the reason in their language and can upload a different one.

Open uploaded files​

Uploaded files are private. They never get a public address.

  • In Results, open a response and click the file. Pollarix creates a private link that works for 15 minutes. Only people who can see that survey's results can get one.
  • In webhooks, each file comes as a private link that works for 24 hours. See Files in webhook payloads.

A link copied out of Pollarix stops working when it expires. Open the file again from Results to get a fresh one.

Storage and deletion​

Files respondents upload are counted separately from your team's own files, so they never stop you from uploading a logo or image. Respondents can keep uploading until their files reach twice your plan's storage, and the organization's administrators get an email when storage reaches 80% and 100%.

Files are deleted together with what they belong to:

  • deleting a response deletes its files;
  • deleting a survey or a department deletes all its respondents' files;
  • a file that was uploaded but never submitted with a response is deleted after 24 hours.

Files in webhook payloads​

In a webhook's surveyResponse.content, a file answer is a list of objects in one of three shapes:

[
{
"name": "invoice.pdf",
"type": "application/pdf",
"url": "https://<media-domain>/<path>?Expires=...&Signature=...&Key-Pair-Id=...",
"expiresAt": "2026-11-01T09:30:00Z"
}
]
ShapeWhen
{name, type, url, expiresAt}The normal case. Download the file before expiresAt, 24 hours after the webhook was sent.
{name, type, unavailable: true}The file could not be linked, for example because it was deleted.
{name, type, inline: true}An older answer whose file was saved inside the response. The file itself is not sent.

The file's contents never travel inside the webhook, so large files don't make a delivery fail. See the webhook API reference for the rest of the payload.

Next steps​

Was this page helpful?