emailValidation

Validate an email address and if it is disposable

Changed on

Determine whether an email address is a valid format, whether it is a disposable address, and the domains or IP addresses it is associated with.

get/validations/addresses/{email}

Request

  • Base URL
    https://mailsac.com/api
  • Auth
    • API key in query parameter _mailsacKey
    • or API key in header Mailsac-Key

Response

EmailAddressIntegrity object

emailstring email required

Full email address that was checked.

validFormatboolean required

Indicates if the format is valid.

localstring

The "local part" of the email address, before the @ symbol.

domainstring domain

The domain of the email address which was used for evaluating disposable components, after the @ symbol.

isDisposableboolean

Boolean indicating if this email address is known to resolve to disposable email providers, most likely making it not useful for marketing mailing lists or signups.

disposableDomainsstring[]

Array of string domains where this email resolves to, which is helpful when the domain is custom, but receives its mail at a disposable email provider.

aliasesstring[]

Array of string domains and IP addresses which are associated with the domain for this email address.

Example response

{
  "email": "billy.wilson@example.com",
  "local": "billy.wilson",
  "domain": "example.com",
  "disposableDomains": [
    "example.com",
    "others.org"
  ],
  "aliases": [
    "example.com",
    "192.168.0.1",
    "example.io"
  ]
}

Changes

    • info

      api operation id ValidateAddress was added

    • info

      api tag emailValidation added

    • info

      api tag Email Validations API removed