Broker API
Setup in Minutes
Test for free, deploy with confidence.
API Testing
1
Setup in minutes
2
Test for free
3
Deploy to production
Testing Environment
Watermarks will reflect Aquamark's brand. Once subscribed, we'll collect your logo and transition you to production.
POST
https://aquamark-decrypt.onrender.com/watermark
API Key
aqua-api-watermark-10182013040420111015
Test Parameter
user_email = [email protected]
API Request Example
POST https://aquamark-decrypt.onrender.com/watermark Headers: Authorization: Bearer YOUR_API_KEY Content-Type: multipart/form-data Body (form-data): user_email: [email protected] file: [Select File] statement.pdf
API Response
200Success
The watermarked document is returned directly in the response body as binary data.
Response Headers:
- Content-Type: application/pdf (for PDFs) or image/jpeg (for images)
- Content-Disposition: attachment; filename="[filename]-protected.pdf"
Example Response Handling
// JavaScript example const response = await fetch(url, options); const watermarkedFile = await response.blob(); // Save file or use in your application const downloadUrl = URL.createObjectURL(watermarkedFile); const a = document.createElement('a'); a.href = downloadUrl; a.download = 'watermarked-document.pdf'; a.click();
400Bad Request
Missing required parameters: file or user_email
401Unauthorized
Invalid or missing API key in Authorization header
500Internal Server Error
Document processing failed. Error message included in response body.
Watermarking alone is a powerful deterrent against document misuse.
If you'd like to use your optional Smart QR code, see the documentation below.
See Common Setups+ Optional Smart QR Code
Send as form-data
salesperson
string - e.g. "John Doe"
processor
string - e.g. "John Doe"
lender
string - e.g. "John Doe"