This action will add a text watermark or stamp overlay to a PDF document.
Developer info
API endpoint slug
pdf_co.stamp_pdf
Filter method
PdfCo.stampPdf.skip(string?: reason)
Runtime method
runAction("pdf_co.stamp_pdf", {})
Action fields
Pdf url Text input > Other
Label
PDF URL
Helper text
Public URL of the PDF to stamp.
Slug
pdf_url
Required
true
Can have default value
true
Filter method
PdfCo.stampPdf.setPdfUrl(string: pdf_url)
Stamp text Text input > Other
Label
Stamp text
Helper text
The text to overlay on the PDF, e.g. "APPROVED" or "CONFIDENTIAL".
Slug
stamp_text
Required
true
Can have default value
true
Filter method
PdfCo.stampPdf.setStampText(string: stamp_text)
Font size Text input > Other
Label
Font size
Helper text
Stamp text font size in points. Defaults to 48.
Slug
font_size
Required
false
Can have default value
true
Filter method
PdfCo.stampPdf.setFontSize(string: font_size)
Color Text input > Other
Label
Color
Helper text
Stamp text color in hex (e.g. "#FF0000").
Slug
color
Required
false
Can have default value
true
Filter method
PdfCo.stampPdf.setColor(string: color)
Pages Text input > Other
Label
Pages
Helper text
Zero-indexed page range to stamp, in PDF.co syntax (e.g. "0-2" for the first three pages, "0" for just the first page, or "0-" for every page). Defaults to every page.
Slug
pages
Required
false
Can have default value
true
Filter method
PdfCo.stampPdf.setPages(string: pages)
Transparent Dropdown list
Label
Transparent
Helper text
Render the stamp as a translucent overlay rather than fully opaque.