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
validatorsarrayRequiredList of validators to check email against. Validators include: SyntaxValidator, MXValidator, and ListDetectiveValidator

Responses

ResultReason
200A validation response

| Name | Type | Description | | email | string | Email address that was validated | | valid | string | Whether it was valid or not |

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.