Use this Restful endpoint to validate an email address and return information about its syntax, domain, deliverability and activity status when available, using the POST method.
Related Email documentation:
- Email introduction
- Restful Email GET request
- Restful LOOKUPEMAIL response
- Restful Email Swagger documentation
Restful Email POST request
Endpoint
POST https://{SERVER_ADDRESS}/{VERSION}/email/lookup
Send the following parameters in the request body using JSON.
| Parameter | Description | Mandatory/Optional |
|---|---|---|
| Email address to validate. | Mandatory | |
| rectify |
true to propose a domain correction when the entered domain is unknown; false otherwise. |
Optional |
| extendedSyntax |
true to accept email addresses with extended syntax; false to limit checks to standard email addresses. |
Optional |
| checkUser |
true to check the part before the @ sign; false to check only the domain. |
Optional |
| timeout | Maximum query time for verification, in seconds. | Optional |
Example:
{
"email": "test@example.com",
"rectify": true,
"extendedSyntax": false,
"checkUser": true,
"timeout": 0.5
}
Related to