Hello,
I am publishing a survey where people should be able to upload some mandatory files (PDF mostly).
I am familiar with the Typeform API (Responses and Webhooks).
I want to retrieve all the answers, with the files, through the API and upload them on my server, thus i have two questions :
How long are the uploaded files in responses kept on Typeform ?
I see that through the webhook, i can retrieve the URL of the files : (e.g "file_url": "https://api.typeform.com/responses/files/11f427717781XXXXXXX372c2daaf6e159e7128171e5a5/arthur_team.jpg"), which seems okay.
However, when i read this API, https://developer.typeform.com/responses/reference/retrieve-response-file/
In this call, I can’t understand all the parameters and no example are given. What is meant by “response_id” ?
https://api.typeform.com/forms/{form_id}/responses/{response_id}/fields/{field_id}/files/{filename}
And how are we supposed to know the filename (which is the name of the file given by the user), unless we already have the files (using webhooks) ?
Why not make alternative versions to retrieve an uploaded file without a file name and/or all files for a given response ?
Thanks