GET /api/v1/verify?apikey=YOURAPIKEY&email=EMAIL HTTP/1.1
Host: app.snapvalid.com
Verify a single email per request. This API endpoint is suitable for validating single email per request. The verification result will be returned as below.
HTTP/1.1 200 OK
{
"email": "[email protected]",
"user": "help1",
"domain": "unelmasupport.com",
"accept_all": 0,
"role": 0,
"free_email": 0,
"disposable": 0,
"spamtrap": 0,
"success": true,
"result": "undeliverable",
"message": "This address cannot receive emails."
}
How to use the result
Apart from undeliverable, for the results deliverable, accept-all and unknown do not reject the email address and proceed with your work flow. Both accept-all and unknown emails could not be validated, so they may be valid email address.
If the request was not successful, do consider proceeding with your workflow.
Response Parameters
Response
The response is in the form of a JSON schema and includes the following fields:
email (string): The verified email address.
user (string): The username part of the email address.
domain (string): The domain of the email address.
accept_all (integer): Indicates if the domain accepts all emails.
role (integer): Indicates if the email address is a role-based address.
free_email (integer): Indicates if the email address is from a free email provider.
disposable (integer): Indicates if the email address is disposable.
spamtrap (integer): Indicates if the email address is a spam trap.
success (boolean): Indicates if the verification was successful.
result (string): The result of the verification.
message (string): Additional message related to the verification.