PDF
Repair a damaged PDF
Fixes a PDF that will not open or says the file is damaged (a broken or missing internal index, a download cut off near the end, wrong offsets) by rebuilding its structure with qpdf, and returns a clean PDF with everything that could be read. It repairs structure, not content: pages whose data is missing from the file cannot be recovered, and meta.pages tells you how many come out. A healthy PDF comes back as an equivalent copy (meta.repaired is false). A password-protected PDF must be unlocked first with /pdf-unprotect. If nothing can be recovered the call returns 422 and the credit is not charged.
Costs 1 credit per call.
post/pdf-repair
Request
- Base URL: https://api.cofferdock.com
- URL: https://api.cofferdock.com/pdf-repair
- Auth: API key in header x-api-key
Request body
Response
Result.
Changes
No recorded changes to this operation across all 1 revision of this API.