Response now includes alignment-based counts alongside compliance counts: spf_count and dkim_count (record volume where SPF/DKIM authentication passed) and reject_count (record volume where the applied disposition was reject). These are sourced from Record.stats_count. Existing fields — compliant, non_compliant, forwarded, total, none, quarantine, reject — remain unchanged.

Supported Formats

JSON

Errors

Code Description
401 Unauthorized
404 Not Found
500 Server crashed for some reason

Examples

{
  "compliant": 4174,
  "non_compliant": 166,
  "forwarded": 1,
  "total": 4355,
  "none": 4188,
  "quarantine": 1,
  "reject": 166,
  "spf_count": 4188,
  "dkim_count": 3902,
  "reject_count": 166
}

Params

Param name Description
q
optional

Params for Ransack Search

Validations:

  • Must be a Hash

q[start_date]
required

Search by date begin, Format: YYYY-MM-DD

Validations:

  • Must be a String

q[end_date]
required

Search by date end, Format: YYYY-MM-DD

Validations:

  • Must be a String

filter
optional

Search by filter, Format: “last_7_days, last_10_days, last_15_days, last_30_days

Validations:

  • Must be a String