All functions

addWatermark

Adds a diagonal text watermark to every page of a PDF document. The watermark opacity is configurable. Returns the modified PDF as a base64-encoded string.

POST/fx/pdf/add-watermarkAPI docs

2 credits / 1 execution / request

Use cases

Confidential document sharing

Add DRAFT or CONFIDENTIAL watermarks before sharing sensitive PDFs. Useful for legal, HR, and contract documents to prevent unauthorized distribution.

Invoice and quote branding

Stamp "PAID" or "SAMPLE" on invoices and quotes. Helps distinguish final vs. preview documents in accounting and sales workflows.

Parameters

NameTypeDescription
organizationIdstringrequiredThe ID of the organization making the request
pdfBase64stringrequiredThe PDF file encoded as a base64 string
watermarkTextstringrequiredThe text to use as the watermark
opacitynumberoptionalWatermark opacity from 0 to 1. Defaults to 0.3

Response

NameTypeDescription
pdfBase64stringThe watermarked PDF encoded as a base64 string