Mailosaur logo
Mailosaur logo

Analysis

The Analysis API allows you to analyse messages in more detail. For example, running a SpamAssassin report.

GET/api/analysis/spam/:id

Perform spam testing on the specified email.

Path parameters

  • Name
    id
    Type
    string
    Description

    The identifier of the email to be analysed.

Run in PostmanRun in Insomnia
Example request
curl \
  -u api:YOUR_API_KEY \
  https://mailosaur.com/api/analysis/spam/MESSAGE_ID
Example response
{
  "spamFilterResults": {
  "spamAssassin": [
    {
      "score": 0,
      "rule": "ABC123",
      "description": "ABC123"
    }
  ]},
  "score": 0
}
Previous