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" \
The response for your API Call will display here.
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
watermark_textfield 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-Keyfield with your unique API Key
filewith 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_fileparameter lets you upload a PDF to pdfRest's processing server to be added as a watermark to your input document.
watermark_file_scale- apply a size multiplier to your file watermark
opacity- set watermark opacity
y- horizontal and vertical offset, respectively, from the center of the page
rotation- apply rotation to your watermark