# addwatermark2pdf: Add Watermark to PDF

> addwatermark2pdf (Add Watermark to PDF) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/addwatermark2pdf, 3 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Places provided image on every page of provided pdf.

- Group: Files & PDF
- Endpoint: `POST https://api.1001fx.com/files/addwatermark2pdf`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: multipart/form-data
- Credits: 3 credits per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/addwatermark2pdf

## Parameters

- `file1` (file, required) – Pdf file: Pdf file to add watermark to
- `file2` (file, required) – Watermark Image: Image to use as watermark.
- `watermarkSize` (number, optional, default `0.15`, min 1e-8, max 1) – Watermark Size: Size of the watermark relative to the individual page width. Image ratio is preserved. Defaults to 0.15.
- `position` (enum, optional, one of `SE`, `NE`, `NC`, `NW`, `SC`, `SW`, `C`, `CE`, `CW`, default `SE`) – Position: Position of the watermark. Defaults to SE.
- `xMargin` (number, optional, default `-20`) – Margin: Margin in pixel. The x=0 coordinate of the page is in the bottom left. To move your image to the left provide a negative margin. Defaults to -20.
- `yMargin` (number, optional, default `20`) – Margin: Margin in pixel. The y=0 coordinate of the page is in the bottom left. To move your image down provide a negative margin. Defaults to 20.
- `opacity` (number, optional, default `1`, min 1e-8, max 1) – Opacity: Opacity of your image. Defaults to 1.
