Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

Stamp a text watermark onto a draft PDF

Draws a Helvetica-bold text stamp on selected pages (default: all). Positions: diagonal (default), center, or footer. Deterministic pdf-lib — no Seal-hosted model inference.

POST/documents/pdf/watermark
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Request body
requiredapplication/json
idstringrequired
textstringrequired
max length 120
opacitynumber
min 0.05 · max 1
positionstring
Allowed:diagonalcenterfooter
colorstring

Hex color, e.g. #888888

sizenumber
min 6 · max 120
pagesinteger[]
Responses
200

Watermarked

successboolean
storage_idstring
page_countinteger
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST "https://api.seal.nyc/api/v1/documents/pdf/watermark" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "string",
  "text": "string",
  "opacity": 0.05,
  "position": "diagonal",
  "color": "string",
  "size": 6,
  "pages": [
    1
  ]
}'
Response
{
  "success": true,
  "storage_id": "string",
  "page_count": 0
}