You can download a specific attachment (file_id
) submitted by a specific respondent (response_id
) for a specific form (form_id
). Currently, only one attachment can be downloaded per request.
[GET] https://api.moaform.com/v1/forms/{form_id}/responses/{response_id}/files/{file_id}
Caution
Redirects to a Presigned URL for downloading the attachment. The Presigned URL is valid for only 1 hour after the request.
REQUEST
Path Parameters
Key | Type | Description |
---|---|---|
form_id | string | Required. Unique ID of the form |
response_id | string | Required. Unique ID of the response |
file_id | string | Required. Unique ID of the the file |
Request Example
curl --request GET \
--location \
--url https://api.moaform.com/v1/forms/{form_id}/responses/{response_id}/files/{file_id} \
--header "Authorization: Bearer {your_api_key}" \
--remote-name \
--remote-header-name
RESPONSE
Status 302 FOUND
on successful redirection