Download a submission as a ZIP

gethttps://api.expiryedge.com/v1/downloadCollectionSubmission
any role (admin, editor or viewer) in the organization60/min
Anfrage
curl 'https://api.expiryedge.com/v1/downloadCollectionSubmission?id=sub_Qm3r' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
<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.

Query-Parameter

  • idstringerforderlich
    Submission id.

Rückgabe

200
ZIP archive.

file

Fehler

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).