API Guide

Get DMARC Domains

Retrieves all DMARC domains registered with and monitored by a user. Data is returned in the following formats: XML, JSON, CSV and Serialized.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: GET

Endpoint URL:

https://api.250ok.com/api/1.0/reputationinformant/dmarc/domains

Sample Output:

[
    {
        "id": 1,
        "name": "250ok.com",
        "dmarc": "v=DMARC1; p=none; rua=mailto:dmarc_agg@dmarc.250ok.net; ruf=mailto:dmarc_fr@dmarc.250ok.net; fo=1; pct=100; rf=afrf",
        "spf": "v=spf1 include:_spf.google.com include:servers.mcsv.net include:mktomail.com include:mail.zendesk.com ~all",
        "created": "2015-10-12 14:14:51"
    },
    {
        "id": 265,
        "name": "250ok.net",
        "dmarc": null,
        "spf": null,
        "created": "2016-03-18 20:23:54"
    }
]

Error Responses

Description Code Cause
Bad or missing API key. 401 The X-API-KEY header was missing or contained an unrecognized/invalid key.
No results found. 404 There are no DMARC domains registered to the account.