Select to view content in your preferred language

How to fetch uploaded file via API?

439
1
10-25-2020 07:24 AM
JoseVidal
Regular Contributor

The survey123 webhook provides the "Submitted record" data which includes the answers to most of the questions (features) in the survey. But, it does not include the questions of type "file", in which the user uploads a file. So, I cannot download a file uploaded by a survey-submitter, via the API.

Is there a way to use the survey123 API to get the file uploaded by a survey submitter?

0 Kudos
1 Reply
JoseVidal
Regular Contributor

Ok, I see feature.attachments.name[0].url. That looks ilke what I need.

0 Kudos