Documentation
Everything you need to integrate malware scanning into your app.
API Reference
Full REST API documentation. Endpoints, authentication, request and response formats, error codes, and webhooks.
Getting Started
Make your first scan in minutes. Step-by-step guide to authenticating, submitting files, and handling results.
Postman Collection
Import our Postman collection to test the API interactively. Pre-configured requests for scanning files and URLs.
Code Examples
Copy-paste examples in Node.js, Ruby, Python, Go, PHP, C#, Elixir, and Salesforce Apex. URL scanning and file uploads.
AI Integration
Give your AI coding assistant everything it needs to integrate AttachmentScanner. Paste into Claude, ChatGPT, or Cursor.
Testing with EICAR
Use the EICAR test file to verify your integration is working end to end without uploading real malware.
Quick Start
Scan a URL with a single API call:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"url": "https://www.attachmentscanner.com/eicar.com"}' \
-H "Content-Type: application/json" \
-XPOST https://YOUR_API_URL/v1.0/scans
The response tells you whether the file is clean or malicious:
{
"status": "found",
"matches": ["Eicar-Test-File-Signature"]
}