POST /address/v1/validateEmail

Validates an email by specifying the email address and validators to be used in the request body of the HTTP POST. You can use more than one validator in the same call.

NameTypeDescription
emailstringRequiredEmail address to be validated
validatorsarrayRequired<List of validators to check email against. Validators include: SyntaxValidator, MXValidator, and ListDetectiveValidator
StatusNameType   Description
200     Successful validation response
 emailstring   Email address that was validated
 validboolean   Whether it was valid or not
       
200     Successful validation response
 emailstring   Email address that was validated
 validboolean   Whether it was valid or not
 failedValidationstring   The validator that failed: SyntaxValidator, MXValidator, or ListDetectiveValidator

Example Request

Example Response

If the email address is valid, the API returnes this response.

If the email address is not valid, the API returns this response, indicating which validator failed.