GET/pdf-export/download/{fileTaskId}

Download a finished PDF export

Downloads a finished PDF export file. Use the token issued by /pdf-export/status rather than an API key, along with the export task's fileTaskId. The response contains the PDF file.

2 parameters
fileTaskIdstringrequired
The UUID of the PDF export task to download.
tokenstringrequired
The signed download token issued by `/pdf-export/status`.

3 status codes
200Returns the PDF file.
400Returned when the token is missing, invalid, or expired, or the export is not ready.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
404Returned when the export task or file cannot be found.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 400 is returned when the token query parameter is missing, invalid, or expired, or when the export is not ready. A 404 is returned when the export task or file cannot be found. The fileTaskId path parameter must be a UUID, and the token query parameter must be the signed download token issued by /pdf-export/status.