GET /api/v1/envelopes/{envelopeId}/files — Download Envelope Files
Download all files associated with an envelope. Returns file content as binary or base64 depending on the Accept header.
Authentication
Bearer
Request Headers
- Authorization (required)
- Bearer {token}
Path Parameters
- envelopeId (string, required)
- The unique identifier of the envelope
Responses
HTTP 200 — Envelope files returned
{
"data": {
"files": [
{
"fileId": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
"fileName": "contract.pdf"
}
]
},
"errorCode": 0,
"message": "Success",
"returnUrl": null,
"stateValidationErrors": null,
"signature": ""
}HTTP 404 — Envelope not found
{
"data": null,
"errorCode": 404,
"message": "Envelope not found",
"returnUrl": null,
"stateValidationErrors": null,
"signature": ""
}