Tools

Email Validator

Validate any email address before sending. Checks format, domain health, MX records, temporary email providers, spam traps, and common misspellings, all in a single API call.

POSThttps://graph.sendcorex.com/v3.0/inbox/check
i

Checks performed. Format Validation: verifies the email follows a valid RFC format. Temporary Email: detects disposable or throwaway email providers. Misspelled Domain: flags common domain typos like gmial.com. Spam Trap Check: identifies known spam trap addresses that harm deliverability. Domain Validation: confirms the domain exists and has valid MX records.

Body parameters

  • emailstringrequired

    The email address to validate.

    e.g. "user@example.com"

Quick start

import axios from 'axios';

const response = await axios.post(
  'https://graph.sendcorex.com/v3.0/inbox/check',
  {
    email: "user@example.com"
  },
  { headers: { Authorization: process.env.SENDCOREX_API_KEY } },
);

console.log(response.data);

Response

{
  "success": true,
  "valid": true,
  "checks": [
    {
      "check": "Format Validation",
      "status": "Passed"
    },
    {
      "check": "Temporary Email Check",
      "status": "Passed"
    },
    {
      "check": "Misspelled Domain",
      "status": "Passed"
    },
    {
      "check": "Spam Trap Check",
      "status": "Passed"
    },
    {
      "check": "Domain Validation",
      "status": "Passed"
    }
  ]
}

Response fields

  • valid

    true when all checks passed.

  • checks[].check

    The name of the check.

  • checks[].status

    The result of the check, for example Passed, Failed or Skipped.

Errors

HTTP-level errors return type, code and message. Errors marked CMD come back inside the command result, with HTTP 200.

  • 401INVALID_API_KEY

    The API key is invalid or revoked.