Download a submission as a ZIP
get
https://api.expiryedge.com/v1/downloadCollectionSubmissionany role (admin, editor or viewer) in the organization60/min
Request
curl 'https://api.expiryedge.com/v1/downloadCollectionSubmission?id=sub_Qm3r' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Response
<file>Streams a ZIP containing responses.pdf, responses.csv and every uploaded file. The id is the submission id (submission.id from getCollectionRequest), read from the query string only. The handler does not check the HTTP method.
idstringrequiredSubmission id.
200
ZIP archive.
file
400 | The request is missing required fields or contains invalid values. |
401 | Missing, expired or invalid bearer token. |
403 | Your role does not allow this, or the record belongs to another organization ( {"error": "Access denied"}). |
404 | The record does not exist or is not in your organization. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
500 | The archive failed mid-stream (the response is cut off; no JSON body). |
