Download a document
The document file can always be downloaded, but most likely you want to download it once it has status signed. Choose between receiving a download URL and receiving the binary file. The download URL of a signed document, or of a document past draft that uses a qualified electronic signature or an external eID, expires 1 hour after it is generated. For any other document it expires 5 minutes after it is generated.
Request
- Base URL: https://api.getaccept.com
- URL: https://api.getaccept.com/v1/documents/{id}/download
- Auth: HTTP bearer
Path parameters
Id of the document.
Query parameters
Send true or 1 to return the binary file directly; any other value is ignored. Falls back to document_url for files larger than 100MB.
Send true or 1 to return the file content base64 encoded; any other value is ignored. Falls back to document_url for files larger than 100MB.
Response
JSON with a download link or base64 content, or the binary PDF when a direct download is requested
Changes
No recorded changes to this operation across all 1 revision of this API.