About this endpoint
What it does
Adds a text watermark to a PDF by taking an uploaded PDF file and watermark text, then returning the resulting PDF as a binary file.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The PDF file to watermark. Binary upload. Up to 20 MB. |
| text | String | Yes | Watermark text. |
| opacity | Number | No | Watermark opacity, from 0 to 1. |
| fontSize | Number | No | Watermark font size in points. |
| position | String | No | Watermark position, for example center. |
| rotationDegrees | Number | No | Watermark rotation in degrees. |
Response
Returns a binary file containing the watermarked PDF.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | The generated PDF file returned as binary output. |



