Build an automatic Custom Tracking Domain apply URL
Builds the signed Domain Connect URL for the current customer-selected tracking host.
POST
Builds the signed Domain Connect URL for the current customer-selected tracking host. Samva fills in the host and the certificate validation record; the manual CNAME records remain available.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[0-9a-hjkmnp-tv-z]{16,24}$DomainConnectApplyUrlResult
application/json- response
url*stringimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.email.buildCustomTrackingDomainConnectApplyUrl({
"id": "example"
});Example Response
{
"url": "string"
}