Inspect a message for spam / phishing (antispam pipeline)
POST/api/v1/antispam
Requires an API key with the antispam scope.
Request
Responses
- 200
- 202
- 401
- 403
- 429
The ROUNDBOX-branded inspection verdict (synchronous mode). Act on verdict (clean/spam/phishing); score (0–100) is the confidence/severity. Cost/price is never included.
Accepted for ASYNCHRONOUS processing — returned in async mode (?async=true, Prefer: respond-async, or { "async": true }) and ALWAYS for any request that carries attachments. Poll GET /api/v1/antispam/{jobId} or await the webhook; the terminal result matches the 200 body plus a filescan[] entry per attachment.
Missing or invalid API key / tenant
API key is missing the required scope: antispam
Rate limit exceeded, OR the monthly antispam quota is exhausted (tenants are notified at 80/90/100% before blocking).