Watermark
Stamp text across every page.
The watermark action stamps its text on every page.
Cost: 1 unit per action.
Mark a draft
curl https://api.nexpdf.dev/v1/build \
-H "Authorization: Bearer $NEXPDF_API_KEY" \
-F doc=@draft.pdf \
-F 'instructions={
"parts": [
{
"file": "doc"
}
],
"actions": [
{
"type": "watermark",
"text": "DRAFT"
}
]
}' \
-o draft-marked.pdf