Tools API Blog
Sign in Create account

Validate email

Validate email is an API that checks whether an email address has a correct format and, optionally, whether its domain has records set up to receive mail (MX), right before you save it to your database or send it something.

How it works

You send the email and it checks two things: the format (the same criteria browsers use for an email-type field) and, if the format is correct, whether the domain actually has MX records. It doesn't send any email or check that the specific account exists, only that the domain is set up to receive mail.

An invalid email isn't a request error: the response is 200 with "valid": false, same as when it's valid.

All you need

  • Your API key. Create it in your dashboard with "+ Create key". It's shown only once, so copy and save it.
  • In your automation platform, an "HTTP Request" step (n8n, Make, Zapier, Pipedream… all have one).

How to use it in n8n (step by step)

In the HTTP Request node:

  • Method: POST
  • URL: https://api.cofferdock.com/validate-email
  • Send Headers: on → add two: x-api-key = your key, and Content-Type = application/json
  • Send Body: on → Body Content Type: JSON → { "email": "customer@example.com" }

In Make (HTTP → Make a request module): same method and URL, Body type: Raw, Content type: JSON, with the same body.

Options (inside the JSON)

OptionDefaultWhat it does
email-Required. The email to validate.
check_mxtrueSet to false if you only want the format checked, without querying the domain (faster).

What you get back

valid is the overall verdict; format_valid and mx_found tell you separately what failed if valid is false, and reason explains it in one word.