Returns a presigned S3 PUT URL for uploading ZIP files that exceed the 10 MB direct upload limit. The URL is valid for 10 minutes. After uploading to S3, pass the returned s3_key to POST /v2/fraudscanner.
Flow:
POST /v2/getUploadUrl→ receiveupload_url+s3_keyPUTyour ZIP toupload_url(withContent-Type: application/zip)POST /v2/fraudscanner?s3_key=<s3_key>→ receive analysis results
The uploaded file is automatically deleted after processing (or after 24h if not consumed).
Security
apiKeyAuth
POST
curl -i -X POST \
https://api.vaarhaft.com/v2/getUploadUrl \
-H 'caseNumber: string' \
-H 'x-api-key: YOUR_API_KEY_HERE'Presigned URL generated successfully.
Presigned S3 PUT URL. Upload your ZIP file here using an HTTP PUT request with Content-Type application/zip. Expires after 10 minutes.
Example:"https://uploads.vaarhaft.com/uploads/company123/a1b2c3d4.zip?..."
Response
{ "upload_url": "https://uploads.vaarhaft.com/uploads/company123/a1b2c3d4.zip?...", "s3_key": "uploads/company123/a1b2c3d4.zip" }