Download submitted file for a specific submission. Returns binary encoding of file.

Download previously uploaded file via submission. This API will send a 302 redirect response and redirect to a signed URL to download the file. The file itself is not in the initial 302 redirect response itself.

For multi file fields, an index can be specified that will return a single image based off the order it was uploaded in. If no index is specified, the first file that was uploaded in the field will be returned.

GET /api/v2/download/12345/12345 HTTP/1.1
Host: www.formstack.com
Authorization: Bearer [[app:oauth_token]]
curl -O -H "Authorization: Bearer YOUR_APP_OAUTH_TOKEN" https://www.dev-formstack.com/api/v2/download/12345/12345
Click Try It! to start a request and see the response here!