GET
/api/v1/message/{ID}/sa-checkSpamAssassin check
Returns the SpamAssassin summary (if enabled) of the message.
The ID can be set to latest to return the latest message.
- RetriesRetries up to 2×, 250ms backoff, 10s timeout.
IDstringrequired
Message database ID or "latest"
200SpamAssassinResponse
Errorstringoptional
If populated will return an error string
IsSpambooleanoptional
Whether the message is spam or not
Rulesarray<object>optional
Spam rules triggered
Scorenumberoptional
Total spam score based on triggered rules
400Server error will return with a 400 status code
with the error message in the body
404Not found error will return a 404 status code
Error handling
A 400 is returned: Server error will return with a 400 status code with the error message in the body. A 404 is returned: Not found error will return a 404 status code.