POST /address/v1/validateEmail

Overview

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.

JSON Parameters

NameTypeDescription
emailstringRequiredEmail address to be validated
validatorsarrayRequired<List of validators to check email against. Validators include: SyntaxValidator, MXValidator, and ListDetectiveValidator

Responses

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

Usage

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.