Skip to Content
Pouch
Domains

List a domain's DMARC reports

GET
/v1/domains/{id}/dmarc_reports

Auth: Bearer key scoped to the domain.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

limit?integer

How many reports to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last report on the previous page.

include?string

Comma-separated expansions to add: records (each source address the report names, its message count, who sent it and how SPF and DKIM fared).

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, domain_id, reporter, reporter_email, report_id, begins_at, ends_at, policy, message_count, received_at, records.

Response Body

Aggregate reports mailbox providers sent to the domain's report address, newest first, kept as long as the organization keeps bodies. Empty until an admin sets up a report host and the domain publishes the address.

application/json
  1. response
data?array<>

The page of reports, newest first.

next_cursor?|

Id to pass as cursor for the next page. Null on the last page.

Example Request
curl -X GET 'https://pouch.example.com/v1/domains/string/dmarc_reports'
Example Response
{  "data": [    {      "id": "string",      "domain_id": "string",      "reporter": "string",      "reporter_email": "string",      "report_id": "string",      "begins_at": "string",      "ends_at": "string",      "policy": {        "domain": "string",        "p": "string",        "sp": "string",        "pct": 0,        "adkim": "string",        "aspf": "string"      },      "message_count": 0,      "received_at": "string",      "records": [        {          "source_ip": "string",          "count": 0,          "origin": "provider",          "disposition": "string",          "dkim": "pass",          "spf": "pass",          "header_from": "string",          "envelope_from": "string",          "dkim_results": [            {}          ],          "spf_results": [            {}          ]        }      ]    }  ],  "next_cursor": "string"}