PDF

Remove the password of a PDF (you must know it)

Returns an unencrypted copy of a password-protected PDF. It does not crack passwords: the current one is required.

Costs 1 credit per call.

post/pdf-unprotect

Request

  • Base URL: https://api.cofferdock.com
  • URL: https://api.cofferdock.com/pdf-unprotect
  • Auth: API key in header x-api-key

Request body

filestring byte required

The PDF, base64-encoded.

passwordstring required

The current password.

output'json' | 'binary' | 'url' | 'pdf'

How to return the PDF: "json" (base64 in the JSON response), "binary" (the PDF itself, ready for n8n/Make/Zapier) or "url" (a temporary download link, valid 15 minutes). Default: json when the request is JSON, binary when the input was sent raw.

Response

The resulting PDF (shape depends on output).

OR

Changes

No recorded changes to this operation across all 1 revision of this API.