MorphoPDF icon

MorphoPDF

Professional PDF processing - merge, split, convert, compress, protect & more

Security & Signing → Sign PDF

AI-generated

Summary

Sign a PDF document by embedding one or more signature images at specified locations, specifying the signer name as fallback if image embedding fails.

Inputs

  • Input Method (required) — Choose how to provide the PDF file to be signed: either as binary data from a previous node or as a public URL (URL recommended for AI tools).
  • File URL (required) — Provide the public URL of the PDF file to sign when using the URL input method.
  • Input Binary Property (required) — Specify the name of the binary property containing the PDF file when using the binary input method.
  • Signer Name (required) — Enter the name of the signer. This is used as a fallback if embedding the signature image fails.
  • Signature Input Type (required) — Select how to provide the signature image: either a public URL or base64-encoded image data.
  • Signature Image URL (required) — Provide the public URL of the signature image (PNG or JPG) when using the URL signature input type.
  • Signature Image (Base64) (required) — Provide the base64-encoded signature image (PNG or JPG) when using the base64 signature input type.
  • Signature Placements (JSON) (required) — Provide a JSON array specifying the placement of each signature on the PDF. Each object must include page (number), x and y coordinates (points from top-left), width, and height. Multiple signatures and placements across pages are supported.
  • Output Type (required) — Choose the format of the signed PDF output: either as binary data or as a temporary download URL (valid for 1 hour).
  • Output Binary Property — Specify the binary property name under which to store the signed PDF when returning binary data.

Output shape

a single file representing the signed PDF, returned either as binary data within the node output or as a JSON object containing a temporary download URL

If Output Type is 'url', the node returns JSON with 'downloadUrl' valid for 1 hour; if 'binary', the output includes binary data under the specified property name. Multiple signatures can be applied in one operation as defined by the signature placements JSON.

Links

Discussion