API Documentation

Watermark seamlessly in seconds.

Important: Upload one PDF at a time. Each request should include a single file for accurate tracking.

๐Ÿ” Authentication

Contact [email protected] to request your API key.

Authorization: Bearer YOUR_API_KEY

๐Ÿ“ฅ Endpoint: Watermark PDFs

URL: https://aquamark-decrypt.onrender.com/watermark

FieldTypeRequiredDescription
user_emailstringYesYour Aquamark account email
filefileYesOne PDF file (max 25MB)
lenderstringNoOptional lender name to embed in the QR code
salespersonstringNoOptional salesperson name to embed in the QR code
processorstringNoOptional processor name to embed in the QR code
statestringNoOptional State name for compliance and regulation disclaimers

cURL

curl -X POST "https://aquamark-decrypt.onrender.com/watermark" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "lender=Fora Financial" \
  -F "salesperson=Jack Dawson" \
  -F "processor=Rose DeWitt" \
  -F "state=CA" \
  --output "statement1 - protected.pdf"

๐Ÿ“ซ Postman Setup

โœ… Successful Response

[Returns a protected PDF file]

If a valid state is provided and matches regulation rules, the response will include a disclaimer in the following header:

X-State-Disclaimer: Disclaimer: CFL license and Disclosure required.

โ— Error Responses

CodeMessage
401Invalid API key
403User not on Enterprise plan
422No logo stored for this user
429Usage limit exceeded
500Internal error

๐Ÿ“ Notes