SYSTEM$VERIFY_DNS_DOMAIN
functionnot supportedIntegrations, network & secretsRegisters an email domain for domain verification and returns the DNS TXT record value the account must publish to prove ownership. Subsequent calls for the same domain check the published TXT record and update the domain’s verification status.
Syntax
SYSTEM$VERIFY_DNS_DOMAIN( '<domain_name>' )
Parameters
| Name | Required | Description |
|---|---|---|
'domain_name' | required | The email domain to verify, for example example.com. The value is normalized to lowercase and must be a syntactically valid domain name. |
Returns
A JSON object with the following fields:
Usage notes
- Calls are idempotent. Calling the function for a domain that has already been registered returns the same verification token rather than rotating it.
- The function performs a just-in-time verification check whenever the domain is in the Pending, Grace period, or Unverified state. Call the function after publishing the TXT record to transition the domain to Verified.
- Verification is scoped to the calling account’s organization. Users in the domain are treated as having verified emails throughout that organization.
- For background on the verification flow, the grace-period model, and the relationship to individual email verification, see Domain verification.
Access control requirements
The caller must have the MODIFY privilege on the account.