Get a download URL for one file in the collection (EAS-114)
Companion to GET /v1/documents/{id}/file, which only ever serves "file #1" (the legacy single-file columns) — this works for any file in the ordered collection, including the first. Returns a 15-minute presigned URL.
View as MarkdownAuthorization
bearer In: header
Path Parameters
Query Parameters
Content-Disposition on the presigned URL. "attachment" (default) downloads; "inline" renders in the browser.
"attachment"Value in
- "attachment"
- "inline"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/documents/string/files/string"{ "url": "string", "expiresIn": 0}Append another file to a draft (EAS-114)
Adds one more file to the document's ordered collection — a real onboarding pack or closing set is several PDFs signed as one package. POST /v1/documents/{id}/file (singular) still attaches/replaces the FIRST file, for every caller written before this endpoint existed; this is purely additive. Same upload rules as the singular endpoint (multipart field "file", 25 MB max, non-PDF formats converted server-side). Fields are placed per file — see DocumentField.fileId — and the completed download merges every file in order with the certificate of completion last. Drafts only.
Remove one file from a draft's collection (EAS-114)
Deletes one file; its own fields go with it. Remaining files are renumbered to a contiguous 0..n-1 order, and the legacy single-file columns (as read by GET .../file "original", and by every pre-EAS-114 caller) follow the new first file — or clear if none remain. Drafts only.