Skip to main content
Files that a respondent sends with an answer, such as uploads, screenshots and signatures, are listed in the response’s attachments:
url is an API address, so it needs a credential like any other call. A credential with responses:read gets a 302 redirect to a download link that works for 5 minutes:
-L makes curl follow the redirect, and most HTTP clients follow it on their own. Some clients drop the Authorization header when they follow it, which doesn’t matter because the download link carries its own short lived signature. Because the download link stops working after 5 minutes, request a new link each time you need the file instead of storing it. Erasing a response also deletes its files. See Download a respondent’s file in the API reference.