Build a one-click DNS apply URL
Builds the signed Domain Connect apply URL for the selected sending-only or sending-and-receiving service.
POST
Builds the signed Domain Connect apply URL for the selected sending-only or sending-and-receiving service. The sending-and-receiving service writes the apex inbound MX, so it is refused until the domain's receiving is enabled. Manual DNS remains available for either mode.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[0-9a-hjkmnp-tv-z]{16,24}$application/json- body
mode*stringValue in
"send-only""send-and-receive"DomainConnectApplyUrlResult
application/json- response
url*stringimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.email.buildDomainConnectApplyUrl({ "id": "example", "mode": "send-only"});Example Response
{ "url": "string"}Related documentation
Build an automatic Custom Tracking Domain apply URL
Builds the signed Domain Connect URL for the current customer-selected tracking host.
Cancel a warming window
Cancels a scheduled or open system-created warming window. Recipients a campaign run already reserved from it stay reserved; no further runs draw from it.