GET
/
domains
cURL
curl --request GET \
  --url http://app.dmarceye.com/api/domains \
  --header 'Authorization: Bearer <token>'
[
  {
    "domain": "<string>",
    "active": true,
    "dmarc_record": "v=DMARC1; p=reject; rua=mailto:foo@bar.baz;",
    "dmarc_policy": "reject",
    "created_at": "2024-06-10T19:55:26+00:00",
    "updated_at": "2024-06-10T19:55:26+00:00"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Domains response

domain
string
required

Domain name

active
boolean

Indication of active domain

Example:

true

dmarc_record
string<string>

Current DMARC record of the domain

Example:

"v=DMARC1; p=reject; rua=mailto:foo@bar.baz;"

dmarc_policy
string<string>

Current DMARC policy

Example:

"reject"

created_at
string<date-time>

Created at timestamp (RFC3339)

Example:

"2024-06-10T19:55:26+00:00"

updated_at
string<date-time>

Updated at timestamp (RFC3339)

Example:

"2024-06-10T19:55:26+00:00"