cURL
curl --request GET \ --url https://api.decodahealth.com/admin/mailgun-domain \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
{ "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" }
Get the Mailgun domain configuration for the current tenant.
The tenant you are making this request on behalf of
Your api key
Successful Response
Full details of a Mailgun domain.
UNVERIFIED
ACTIVE
DISABLED
DNS records grouped by purpose.
Show child attributes