Autype icon

Autype

Interact with the Autype Developer API for document generation, PDF tools, and more

Document Tool → Unlock

AI-generated

Summary

Remove password protection from a PDF via the Autype API

Inputs

  • fileId (required) — ID of the file uploaded via the File resource. Use File > Upload to get a file ID.
  • password (required) — Password to unlock the PDF
  • waitForCompletion — Whether to wait for the tool job to complete before returning
  • downloadOutput — Whether to automatically download the output file as binary data after completion; only applies when waitForCompletion is true

Output shape

Returns the tool job result paired with the current item. If waitForCompletion is true and downloadOutput is true and the job status is COMPLETED, returns binary output data (fileName, mimeType, data); otherwise returns the API response JSON paired with the current item.

The node calls POST /tools/pdf/unlock with {fileId, password}, then optionally polls for job completion and downloads the unlocked file if requested.

Links

Discussion