Ir al contenido

Pre-chequeo de duplicados antes de import

POST
/v1/bulk/contacts/import-preview
curl --request POST \
--url https://api.mailerdash.com/v1/bulk/contacts/import-preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "emails": [ "example" ] }'

Recibe un array de emails y devuelve cuáles ya existen en la BD del key, sin tocar nada. Usado por el dashboard para mostrar “X contactos ya existen” antes de confirmar el import real.

Media type application/json
One of:
object
emails
required
Array<string>
Example generated
{
"emails": [
"example"
]
}

Lista de emails ya existentes

Media type application/json
object
existing
Array<string>
total_unique
integer
total_received
integer
Example generated
{
"existing": [
"example"
],
"total_unique": 1,
"total_received": 1
}

Formato invalido

No autorizado