curl https://dmarc.haskimail.ru/records/my/reports?from_date=2017-01-02&to_date=2017-01-16&limit=100 \
-X GET \
-H "Accept: application/json" \
-H "X-Api-Token: 005d8431-b020-41aa-230e-4d63a0357869" {
"meta": {
"next": 276,
"next_url": "/records/e8dad1d4-7162-4c73-8ddf-5be0d64bc2a6/reports?from_date=&to_date=&limit=1&after=276",
"total": 2
},
"entries": [
{
"domain": "wildbit.com",
"date_range_begin": "2014-04-27T20:00:00Z",
"date_range_end": "2014-04-28T19:59:59Z",
"id": 276,
"created_at": "2014-07-25T11:44:55Z",
"external_id": "xxxxxxxxxxx",
"organization_name": "google.com"
}
]
} curl https://dmarc.haskimail.ru/records/my/reports/:id \
-X GET \
-H "Accept: application/json" \
-H "X-Api-Token: 005d8431-b020-41aa-230e-4d63a0357869" {
"id": 276,
"domain": "wildbit.com",
"date_range_begin": "2014-04-27T20:00:00Z",
"date_range_end": "2014-04-28T19:59:59Z",
"source_uri": "mailto:noreply-dmarc-support@google.com",
"external_id": "xxxxxxxxx",
"email": "noreply-dmarc-support@google.com",
"organization_name": "google.com",
"created_at": "2014-07-25T11:44:55Z",
"extra_contact_info": "http://support.google.com/a/bin/answer.py?answer=2466580",
"records": [
{
"header_from": "wildbit.com",
"source_ip": "127.0.0.1",
"source_ip_version": 4,
"host_name": "example.org.",
"count": 1,
"policy_evaluated_spf": "fail",
"policy_evaluated_dkim": "fail",
"policy_evaluated_disposition": "none",
"policy_evaluated_reason_type": null,
"spf_domain": "example.org",
"spf_result": "pass",
"dkim_domain": null,
"dkim_result": null
}
]
}
}