Watermark a PDF
stamp_watermarkUse this when the user wants to add a watermark to a PDF, stamp DRAFT, CONFIDENTIAL, COPY or SAMPLE across the pages, or mark only some pages. Takes one attached PDF, the watermark text (up to 40 characters), opacity from 0.05 to 0.5, angle from -90 to 90 degrees, optional pages such as "1-3, 8" and optional font size, and returns a new PDF with the text centered on each chosen page. Each stamp is checked again in the new file before the link is given. Does not add image or logo watermarks, does not open password-protected PDFs, and the text can be removed with PDF editing software. Do not use for page numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF to watermark, e.g. proposal.pdf. | |
| text | Yes | Watermark text, e.g. "DRAFT" or "CONFIDENTIAL". | |
| angle | No | Angle in degrees counter-clockwise, -90 to 90, e.g. 45 (default) or 0 for flat. | |
| pages | No | Pages to mark, e.g. "all" (default) or "1-3, 8, 10-end". | |
| opacity | No | How strong the text is, 0.05 (faint) to 0.5, e.g. 0.15 (default). | |
| font_size | No | Font size in points, 8 to 300, e.g. 72. Default: fit the page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| text | Yes | ||
| angle | Yes | ||
| check | Yes | ||
| notes | Yes | ||
| pages | Yes | ||
| opacity | Yes | ||
| position | Yes | ||
| downloads | Yes | ||
| font_size | Yes | ||
| page_list | Yes | ||
| last_stamp | Yes | ||
| first_stamp | Yes | ||
| output_name | Yes | ||
| stamped_pages | Yes | ||
| output_size_kb | Yes | ||
| expires_in_hours | Yes |