post
https://www.virustotal.com/api/v3/private/files
Special privileges requiredPrivate Scanning is only available to users with the Google Threat Intelligence Enterprise or Enterprise Plus licenses.
Upload and analyse a file with Private Scanning
File sizeIf the file to be uploaded is bigger than 32MB, please use the /private/files/upload_url endpoint instead which admits files up to 650MB.
Password-Protected Archives and Documents
When uploading password-protected archives (.zip, .7z, .rar) or encrypted documents (.pdf, Microsoft Office) to Private Scanning, include the optional password multipart form field (a UTF-8 string up to 128 characters).
The provided password is used to:
- Decrypt and extract inner files privately, staging them under the Relations tab (bundled_files) as files you may choose to analyze.
- Analyze encrypted archives and documents in supported private dynamic analysis sandboxes.
curl --request POST \
--url https://www.virustotal.com/api/v3/private/files \
--header "x-apikey: YOUR_API_KEY" \
--header "accept: application/json" \
--header "content-type: multipart/form-data" \
--form "file=@/path/to/archive.zip" \
--form "password=infected"