Skip to main content
POST
/
domains
/
{id}
/
dmarc
Set DMARC policy
curl --request POST \
  --url https://api.sentvia.ai/v1/domains/{id}/dmarc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "hostname": "<string>",
  "dmarc_policy": "<string>",
  "record": {
    "name": "<string>",
    "content": "<string>",
    "purpose": "<string>",
    "priority": 123
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
policy
enum<string>
required
Available options:
none,
quarantine,
reject

Response

OK

hostname
string
dmarc_policy
string
record
object