Appearance
validateEmailDomain ​
Validates a given email address by extracting the domain and performing a DNS MX lookup.
Request ​
http
POST /rest/refdata/validate/emaildomainHeaders ​
None required. This endpoint may be rate-limited in the future.
Request Body ​
json
{
"emailAddress": "aaron@interact.technology",
"version": 1
}| Field | Type | Required | Description |
|---|---|---|---|
emailAddress | string | Yes | The email address to validate |
version | integer | Yes | API version (use 1) |
Response ​
200 OK ​
No body is returned. HTTP 200 indicates the domain passed MX validation.
Errors ​
| Exception | Cause |
|---|---|
WSInvalidParameterException | Missing or invalid request parameters |
WSInvalidEmailDomainNameException | The email domain failed DNS MX lookup |