Same-day setup.
Authorization: Bearer aqua-api-watermark-10182013040420111015
This API key is universal and can be used immediately for testing.
| Parameter | Type | Description |
|---|---|---|
user_email |
String | Your Aquamark account email Use [email protected] for testing with Aquamark branding |
| Option | Parameter | Type | Description |
|---|---|---|---|
| A | file_url |
String (JSON body) | Public URL to a file (PDF, DOC, DOCX, JPG, PNG) |
| B | file |
File (multipart form-data) | Direct file upload (PDF, DOC, DOCX, JPG, PNG) |
Use Option A or Option B — not both. Max 25MB per file.
| You send | You get back | Notes |
|---|---|---|
| Every page watermarked | ||
| Word (.doc, .docx) | Converted to PDF, then watermarked — recipients can't edit it | |
| Image (.jpg, .jpeg, .png) | JPG | Watermark tiled across the full image — ideal for voided checks, IDs, and screenshots |
File type is detected from the file name (from file_url or the uploaded file), so make sure it ends in the right extension.
Note: examples are shown in cURL for universality. Translate to your preferred language (Python, JavaScript, Java, etc.). Standard HTTP request — nothing custom.
curl -X POST https://aquamark-decrypt.onrender.com/watermark \
-H "Authorization: Bearer aqua-api-watermark-10182013040420111015" \
-H "Content-Type: application/json" \
-d '{
"file_url": "https://example.com/document.pdf",
"user_email": "[email protected]"
}' \
--output watermarked.pdf
curl -X POST https://aquamark-decrypt.onrender.com/watermark \
-H "Authorization: Bearer aqua-api-watermark-10182013040420111015" \
-F "file=@/path/to/document.pdf" \
-F "[email protected]" \
--output watermarked.pdf
Both methods return a watermarked file
curl -X POST https://aquamark-decrypt.onrender.com/watermark \
-H "Authorization: Bearer aqua-api-watermark-10182013040420111015" \
-H "Content-Type: application/json" \
-d '{
"file_url": "https://www.aquamark.io/voided-check-sample.jpg",
"user_email": "[email protected]"
}' \
--output voided-check-protected.jpg
Word documents work the same way — send a .docx or .doc and save the response as .pdf.
Returns the watermarked file (binary stream) with your branding
application/pdf, named [original-name]-protected.pdfimage/jpeg, named [original-name]-protected.jpgErrors return plain text messages with appropriate HTTP status codes.
| Code | Meaning | Example Response |
|---|---|---|
| 400 | Bad request | Missing user_emailMissing file or file_urlUnable to process PDF: [details]Unable to convert Word document: [details] |
| 401 | Invalid API key | Invalid API key. |
| 402 | Account not authorized | Free trial has expiredUser not authorized |
| 408 | Request timeout | Request timeout - processing took too long. Please try again or contact support. |
| 413 | File too large | File size 30.5MB exceeds maximum allowed size of 25MB. |
| 500 | Server error | Failed to process watermark: [error details] |
The examples above use test credentials with Aquamark branding. To deploy with your own branding:
[email protected] with your Aquamark account email in the user_email parameterThat's it. Your documents will now be watermarked with your branding.
Questions? Email [email protected]