HerramientasTools
Entrar Crear cuenta

Validar email

Validar email es una API que comprueba si una dirección de correo tiene formato correcto y, opcionalmente, si su dominio tiene registros para recibir correo (MX), justo antes de guardarla en tu base de datos o mandarle algo.

Cómo funciona

Le mandas el email y comprueba dos cosas: el formato (el mismo criterio que usan los navegadores en un campo de tipo email) y, si el formato es correcto, si el dominio tiene registros MX de verdad. No manda ningún correo ni comprueba que la cuenta en concreto exista, solo que el dominio esté preparado para recibir correo.

Que el email no sea válido no es un error de la petición: la respuesta es 200 con "valid": false, igual que cuando sí lo es.

Lo único que necesitas

  • Tu API key. La creas en tu panel con "+ Crear llave". Se muestra una sola vez, así que cópiala y guárdala.
  • En tu plataforma de automatización, un paso de tipo "HTTP Request" / "Hacer una petición HTTP" (lo tienen n8n, Make, Zapier, Pipedream…).

Cómo usarlo en n8n (paso a paso)

En el nodo HTTP Request:

  • Method: POST
  • URL: https://api.cofferdock.com/validate-email
  • Send Headers: actívalo y añade dos: x-api-key = tu llave, y Content-Type = application/json
  • Send Body: actívalo → Body Content Type: JSON{ "email": "cliente@ejemplo.com" }

En Make (módulo HTTP → Make a request): mismo método y URL, Body type: Raw, Content type: JSON, con el mismo cuerpo.

Opciones (dentro del JSON)

OpciónPor defectoPara qué sirve
email-Obligatorio. El email a validar.
check_mxtruePon false si solo quieres comprobar el formato, sin consultar el dominio (más rápido).

Lo que recibes

valid resume el resultado; format_valid y mx_found te dicen por separado qué falló si valid es falso, y reason lo explica en una palabra.

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.