curl --request POST \
--url https://api.mailglyph.com/v1/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]"
}
'{
"success": true,
"data": {
"email": "[email protected]",
"valid": true,
"validationMethod": "smtp",
"smtpStatus": "Valid",
"smtpDiagnosis": "Mailbox exists and can receive mail.",
"creditsConsumed": 1,
"isDisposable": false,
"isAlias": false,
"isTypo": false,
"isPlusAddressed": false,
"isRandomInput": false,
"isPersonalEmail": true,
"isCatchAll": false,
"isGreylisted": false,
"domainExists": true,
"hasWebsite": true,
"hasMxRecords": true,
"reasons": []
}
}Email Validation
Validate email address
Validate an email address with SMTP deliverability validation, disposable domain checks, MX record checks, random input detection, typo suggestions, and credit consumption details.
POST
/
v1
/
verify
curl --request POST \
--url https://api.mailglyph.com/v1/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]"
}
'{
"success": true,
"data": {
"email": "[email protected]",
"valid": true,
"validationMethod": "smtp",
"smtpStatus": "Valid",
"smtpDiagnosis": "Mailbox exists and can receive mail.",
"creditsConsumed": 1,
"isDisposable": false,
"isAlias": false,
"isTypo": false,
"isPlusAddressed": false,
"isRandomInput": false,
"isPersonalEmail": true,
"isCatchAll": false,
"isGreylisted": false,
"domainExists": true,
"hasWebsite": true,
"hasMxRecords": true,
"reasons": []
}
}Authorizations
API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. Workspaces can have multiple active keys, and sender-domain operations enforce per-key domain scope when configured.
Body
application/json
Email address to validate

