API ReferenceDomainsGet DNS Records
Get DNS Records
Retrieve the DNS records required for verifying a specific domain.
GET
https://wapi.simplysend.email/web-setup/domains/{domainId}/dns-recordsParameters
domainIdRequiredstring
The unique ID of the domain.
RequestGET
curl -X GET https://wapi.simplysend.email/web-setup/domains/{domainId}/dns-records \
-H "X-Api-Key: your_api_key" \
-H "X-Id: your_account_id"Response
{
"success": true,
"data": {
"domainId": "domain_1768776641476_d8vc40fk647",
"domain": "acme.com",
"dnsRecords": [
{
"type": "TXT",
"name": "simplysenda._domainkey.acme.com",
"value": "\"v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BA...\"",
"description": "DKIM public key for email signing"
},
{
"type": "TXT",
"name": "acme.com",
"value": "\"v=spf1 include:amazonses.com include:spf.oraclecloud.com ~all\"",
"purpose": "SPF",
"description": "SPF record for email authentication (Shared for SES and OCI)"
},
{
"type": "CNAME",
"name": "track.acme.com",
"value": "r.us-east-1.awstrack.me",
"purpose": "Tracking",
"description": "CNAME record for email open and click tracking"
},
{
"type": "TXT",
"name": "_dmarc.acme.com",
"value": "\"v=DMARC1; p=reject;\"",
"purpose": "DMARC",
"description": "DMARC policy record (Strict policy, supports BIMI)"
},
{
"type": "MX",
"name": "m.acme.com",
"value": "feedback-smtp.us-east-1.amazonses.com",
"priority": 10,
"description": "MX record for bounce and complaint handling"
},
{
"type": "CNAME",
"name": "simplysendo._domainkey.acme.com",
"value": "Creation in progress... (DKIM record). Wait...",
"ttl": 300,
"purpose": "DKIM Key (simplysendo)",
"description": "This record will be available once OCI finishes provisioning your DKIM selector"
}
],
"status": "SUCCESS",
"dkimEnabled": true,
"spfConfigured": true,
"dmarcConfigured": false,
"mxConfigured": true,
"ociDomainId": "ocid1.emaildomain.oc1.ap-sydney-1.amaaaaaa...",
"ociStatus": "ACTIVE",
"ociDkimEnabled": true,
"ociSpfConfigured": true,
"ociDmarcConfigured": false
}
}