Tools
Disposable Email Check
Detect temporary, disposable, or high-risk email addresses before they reach your system. The API returns an isDisposable flag, a highRisk flag, and the domain name that was checked.
https://graph.sendcorex.com/v4/mail/isdisposableThis endpoint is on /v4, not /v3.0. You must provide either email or domain.
Body parameters
emailstringoptionalThe email address you want to validate. Required unless you send
domain.e.g.
"user@mailinator.com"domainstringoptionalDomain to validate directly, instead of an email. Required unless you send
email.e.g.
"mailinator.com"
Quick start
import axios from 'axios';
const response = await axios.post(
'https://graph.sendcorex.com/v4/mail/isdisposable',
{
email: "user@mailinator.com"
},
{ headers: { Authorization: process.env.SENDCOREX_API_KEY } },
);
console.log(response.data);Response
{
"isDisposable": true,
"highRisk": true,
"code": "fully_confirmed",
"reason": "Confirmed",
"name": "mailinator.com",
"checks": [
{
"check": "Domain Blocklist Match",
"status": "Failed",
"details": "Domain found in known disposable list"
},
{
"check": "MX Record Check",
"status": "Passed",
"details": "Looks legitimate"
},
{
"check": "MX Record Present",
"status": "Passed",
"details": "Domain has valid MX records"
}
],
"remainingCredits": 42,
"responseTime": "87ms"
}Response fields
isDisposabletrueif the domain is a confirmed disposable provider.highRisktrueif the email or domain shows high-risk signals, even if it is not confirmed disposable.codeVerdict code, for example
fully_confirmedorclear.reasonHuman-readable explanation of the verdict.
nameThe domain name that was checked.
checksBreakdown of the individual checks performed, each with
check,statusanddetails.remainingCreditsCredits left on your plan. Returns
"Unlimited"on unlimited plans.
Errors
HTTP-level errors return type, code and message. Errors marked CMD come back inside the command result, with HTTP 200.
- 401
INVALID_API_KEYThe API key is invalid or revoked.