Files
Get a file download link
/v1/files/{fileId}One file uploaded to a file_upload question, with a download link that works for 5 minutes. Call again for a fresh link. Once the response is deleted, it answers 404. See Files.
Path parameters
fileIdstringrequiredThe file's id. You find it in the answer, next to its
apiUrl, and at the end of the file's link in an export,<app>/files/<fileId>.
Response
fileIdstringrequiredThe file's id.
submissionIdstringrequiredThe response it was uploaded with.
fieldIdstringrequiredThe
file_uploadquestion it answers.namestringrequiredThe file's name.
sizenumberrequiredThe file's size in bytes.
typestringrequiredThe file's MIME type, as uploaded.
urlstringrequiredA download link that works for 5 minutes and needs no API key. It stops working when it expires or the response is deleted.
expiresAtnumberrequiredWhen
urlstops working, in milliseconds since the epoch.
Errors answer with a status and the error shape.