API Reference‎ > ‎Report Service‎ > ‎


REST API Method: spamfilter

Returns a spam filter report, for the given report id, that gives results of evaluating the message content with different spam detection engines.




HTTP Method(s):


Path Parameter:

reportid integer --

    The id of the campaign.  The call returns spam filter information for this campaign message.




JSON delivery report object.  Each delivery report object has the following fields:

  • reportID: number
  • emailFrom: from header in email
  • emailSubject: subject header in email
  • reportCreated: date when emails were received
  • currentlyCollecting: if 1, then data is still being collected for this campaign
  • spamFilters: JSON array of spam report objects.  Each spam report object has the following fields
    • name: name of spam filter
    • score: the filter-specific score value
    • details: the filter-specific details

          JSON example response:




    "emailSubject":"Daily Deal for Wed",



    "spamFilters": [











"CN_BODY_332, DKIM_SIGNED, DKIM_VERIFIED, FB_WORD1_END_DOLLAR, HTML_IMAGE_RATIO_04, HTML_MESSAGE, MAILTO_TO_SPAM_ADDR, MONEY_BACK, SH_BIG5_05413_BODY_104\r\nX-Barracuda-Spam-Report: Code version 3.2, rules version\r\n\tRule breakdown below\r\n\t pts rule name              description\r\n\t---- ---------------------- --------------------------------------------------\r\n\t-0.00 DKIM_VERIFIED          Domain Keys Identified Mail: signature passes\r\n\t                           verification\r\n\t0.00 DKIM_SIGNED            Domain Keys Identified Mail: message has a signature\r\n\t0.00 MONEY_BACK             BODY: Money back guarantee\r\n\t0.12 CN_BODY_332            BODY: CN_BODY_332\r\n\t0.21 SH_BIG5_05413_BODY_104 BODY: Body: contain \"UNSUBSCRIBE\"\r\n\t0.00 FB_WORD1_END_DOLLAR    BODY: Looks like a word ending with a $\r\n\t0.00 MAILTO_TO_SPAM_ADDR    URI: Includes a link to a likely spammer email\r\n\t0.17 HTML_IMAGE_RATIO_04    BODY: HTML has a low ratio of text to image area\r\n\t0.00 HTML_MESSAGE           BODY: HTML included in message\r\nX-IMAIL-SPAM-PHRASE: (2cfa000121cb9df9, money back guarantee)\r\n"





                "details": "R = Racially insensitive spam score:95.9108 P = Sexually explicit (pornography) spam score:95.9108 M = Make-money-fast (MMF) spam score:95.5423 C = Commercial or “special offer” spam score:93.2377 FC = Financial Content score:95.5390 LC = Legal Content score:95.5390"},{"name":"symantec","score":"2.5 ","details":"SpamReason: No, hits=2.5 required=7.0 tests=FULL_REFUND,\r"