Watermark PDF is a REST API tool that adds either a text-based or an image-based watermark to all pages of a PDF with customizable font, text size, color, opacity, scale, positioning, and rotation.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
to receive your free API Key.curl -X POST "https://api.pdfrest.com/watermarked-pdf" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
watermark_text
field to use as your watermark. If your image file is in a different format than PDF, simply process it first with the Convert to PDF API Tool.
Just like Adobe® Acrobat™, Watermark PDF gives you full access to apply and adjust your watermark with precision. For text-based watermarks, choose your font, text size, and text color. For image-based watermarks, scale your image to any size. For both text and image watermarks, adjust the opacity, vertical and horizontal position, and rotation value.
Api-Key
field with your unique API
Key
file
with the local path to your
input
curl -X POST "https://api.pdfrest.com/watermarked-pdf" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \ -F "file=@../Sample_Input/ducky.pdf" \ -F "watermark_text=watermark" \ -F "output=example_out"
watermark_file
parameter lets you upload a PDF to pdfRest's processing server to be added as a watermark to your input document.
watermark_file
or watermark_file_id
parameter.
watermark_file_scale
- apply a size multiplier to your file watermarkopacity
- set watermark opacityx
and y
- horizontal and vertical offset, respectively, from the center of the pagerotation
- apply rotation to your watermarkCreate your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.