Complete an automatic Custom Tracking Domain return
Validates the signed state returned by the DNS provider, then checks the tracking host again.
POST
Validates the signed state returned by the DNS provider, then checks the tracking host again. Returning here never marks the host ready or changes which tracking host email uses.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[0-9a-hjkmnp-tv-z]{16,24}$application/json- body
state*stringerror?string|nullerrorDescription?string|nullCustomTrackingDomainConnectCompleteResult
application/json- response
status*stringValue in
"applied""cancelled""failed""stale""invalid"import { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.email.completeCustomTrackingDomainConnect({
"id": "example",
"state": "example"
});Example Response
{
"status": "applied"
}