curl --request PUT \
--url https://api.decodahealth.com/admin/mailgun-domain/verify \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"domain": {
"id": "<string>",
"tenantSubDomain": "<string>",
"domainName": "<string>",
"state": "UNVERIFIED",
"isSendingVerified": true,
"isReceivingVerified": true,
"createdDate": "2023-11-07T05:31:56Z",
"smtpLogin": "<string>",
"dnsRecords": {
"sendingDnsRecords": [
{
"recordType": "<string>",
"name": "<string>",
"value": "<string>",
"valid": "valid",
"priority": "<string>"
}
],
"receivingDnsRecords": [
{
"recordType": "<string>",
"name": "<string>",
"value": "<string>",
"valid": "valid",
"priority": "<string>"
}
],
"dmarcDnsRecords": [
{
"recordType": "<string>",
"name": "<string>",
"value": "<string>",
"valid": "valid",
"priority": "<string>"
}
]
},
"updatedDate": "2023-11-07T05:31:56Z",
"verifiedDate": "2023-11-07T05:31:56Z"
},
"message": "<string>"
}Verify the Mailgun domain DNS configuration. Checks with Mailgun to see if DNS records have been properly configured. Note: MX records (receiving) are optional - domain can be active without them.
curl --request PUT \
--url https://api.decodahealth.com/admin/mailgun-domain/verify \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"domain": {
"id": "<string>",
"tenantSubDomain": "<string>",
"domainName": "<string>",
"state": "UNVERIFIED",
"isSendingVerified": true,
"isReceivingVerified": true,
"createdDate": "2023-11-07T05:31:56Z",
"smtpLogin": "<string>",
"dnsRecords": {
"sendingDnsRecords": [
{
"recordType": "<string>",
"name": "<string>",
"value": "<string>",
"valid": "valid",
"priority": "<string>"
}
],
"receivingDnsRecords": [
{
"recordType": "<string>",
"name": "<string>",
"value": "<string>",
"valid": "valid",
"priority": "<string>"
}
],
"dmarcDnsRecords": [
{
"recordType": "<string>",
"name": "<string>",
"value": "<string>",
"valid": "valid",
"priority": "<string>"
}
]
},
"updatedDate": "2023-11-07T05:31:56Z",
"verifiedDate": "2023-11-07T05:31:56Z"
},
"message": "<string>"
}The tenant you are making this request on behalf of
Your api key