제출받은 첨부파일 다운로드

특정 설문(form_id), 특정 답변자(response_id)가 제출한 특정 첨부파일(file_id)를 다운로드할 수 있습니다. 현재 한 요청당 하나의 첨부파일만 다운로드 가능합니다.

[GET] https://api.moaform.com/v1/forms/{form_id}/responses/{response_id}/files/{file_id}

주의

첨부파일을 다운로드할 수 있는 Presigned URL로 Redirect 합니다. 해당 Presigned URL은 요청 후 1시간까지만 유효합니다.

 

요청

Path Parameters

Key Type Description
form_id string 필수, 설문의 고유 ID
response_id string 필수, 답변의 고유 ID
file_id string 필수, 파일의 고유 ID

 

호출 예제

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

 

응답

성공시 status 302 FOUND