Send PDFs and funder names. Get back watermarked PDFs.
Authorization: Bearer aqua-api-watermark-77204041104282
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 |
funder |
String or Array | Funder name(s) - max 15 per request |
| Parameter | Type | Description |
|---|---|---|
file_urls |
Array | Multiple PDF URLs (recommended for batch processing) |
file_url |
String | Single PDF URL |
file |
File Upload | Direct file upload (multipart/form-data) |
Choose one file input method. Max 25MB per file.
Note: API examples are shown in cURL for universality. You can easily translate to your preferred language (Python, JavaScript, Java, etc.). Standard HTTP request — nothing custom.
curl -X POST https://aquamark-broker-funder.onrender.com/watermark-broker-funder \
-H "Authorization: Bearer aqua-api-watermark-77204041104282" \
-H "Content-Type: application/json" \
-d '{
"user_email": "[email protected]",
"file_urls": [
"https://example.com/jan-statement.pdf",
"https://example.com/feb-statement.pdf",
"https://example.com/mar-statement.pdf",
"https://example.com/credit-app.pdf"
],
"funder": ["Forward Financing", "OnDeck Capital", "Kapitus"]
}' \
--output watermarked.zip
Returns 1 ZIP with 12 PDFs (4 files × 3 funders)
curl -X POST https://aquamark-broker-funder.onrender.com/watermark-broker-funder \
-H "Authorization: Bearer aqua-api-watermark-77204041104282" \
-H "Content-Type: application/json" \
-d '{
"user_email": "[email protected]",
"file_url": "https://example.com/statement.pdf",
"funder": ["Forward Financing", "OnDeck Capital"]
}' \
--output watermarked.zip
Returns 1 ZIP with 2 PDFs (1 file × 2 funders)
curl -X POST https://aquamark-broker-funder.onrender.com/watermark-broker-funder \
-H "Authorization: Bearer aqua-api-watermark-77204041104282" \
-F "[email protected]" \
-F "file=@/path/to/statement.pdf" \
-F 'funder=["Forward Financing", "OnDeck Capital"]' \
--output watermarked.zip
Upload files directly using multipart/form-data. Same response as URL-based methods.
Returns a ZIP file (binary) with watermarked PDFs named: {filename}-{funder}.pdf
submission-package.zip/
├── jan-statement-forward-financing.pdf
├── jan-statement-ondeck-capital.pdf
├── jan-statement-kapitus.pdf
├── feb-statement-forward-financing.pdf
├── feb-statement-ondeck-capital.pdf
├── feb-statement-kapitus.pdf
├── mar-statement-forward-financing.pdf
├── mar-statement-ondeck-capital.pdf
├── mar-statement-kapitus.pdf
├── credit-app-forward-financing.pdf
├── credit-app-ondeck-capital.pdf
└── credit-app-kapitus.pdf
Errors return plain text messages with appropriate HTTP status codes.
| Code | Meaning | Example Response |
|---|---|---|
| 400 | Bad request | At least one funder required |
| 401 | Invalid API key | Invalid API key |
| 402 | Account not authorized | Requires the Leak Detection plan |
| 408 | Request timeout | Request timeout |
| 413 | File too large | File statement.pdf (30.5MB) exceeds 25MB limit |
| 500 | Server error | Processing failed: [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]