Method
POST /v1/comms/email-domains
Body Parameters
Managed domain identifier
Return-path/bounce domain
Click/open tracking domain
DMARC policy (e.g., none, quarantine, reject)
Bearer token (e.g. Authorization: Bearer YOUR_API_KEY)
Request Example
curl -X POST https://api.voyantcloud.com/v1/comms/email-domains \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"domainId": "0d85c2d7-1111-2222-3333-abcdefabcdef",
"returnPathDomain": "bounces.example.com",
"trackingDomain": "trk.example.com",
"dmarcPolicy": "quarantine"
}'
await fetch("https://api.voyantcloud.com/v1/comms/email-domains", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}`, "content-type": "application/json" },
body: JSON.stringify({ domainId: "0d85c2d7-1111-2222-3333-abcdefabcdef" }),
})
import os, requests
requests.post(
"https://api.voyantcloud.com/v1/comms/email-domains",
headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}", "content-type": "application/json"},
json={"domainId": "0d85c2d7-1111-2222-3333-abcdefabcdef"},
)
Response
{
"id": "emd_123",
"domainId": "0d85c2d7-1111-2222-3333-abcdefabcdef",
"provider": null,
"returnPathDomain": null,
"trackingDomain": null,
"dmarcPolicy": null
}