Eventos de email, enviados a tu servidor
Brevo envía un HTTP POST a tu URL en tiempo real cuando un email se entrega, se abre, recibe un clic o rebota.

Cómo funciona
curl --location 'https://api.brevo.com/v3/webhooks' \
--header 'content-type: application/json' \
--header 'api-key: xkeysib-{api-key}' \
--data '{
"description" : "string",
"url" : "https://example.com/notifyurl3234121232",
"events" : ["sent"],
"type" : "transactional",
"auth":{
"type":"bearer",
"token":"client-token"
}
}'
Create a webhook that posts delivery, open and click events to https://myapp.example/hooks.
{
"event": "delivered",
"email": "[email protected]",
"id": 26224,
"date": "YYYY-MM-DD HH:mm:ss",
"ts": 1598634509,
"message-id": "<[email protected]>",
"ts_event": 1598034509,
"subject": "Subject Line",
"tag": "[\"transactionalTag\"]",
"sending_ip": "185.41.28.109",
"ts_epoch": 1598634509223,
"tags": [
"myFirstTransactional"
]
}
# No request body.
curl --request GET \
--url https://api.brevo.com/v3/smtp/statistics/events \
--header 'accept: application/json' \
--header 'api-key: YOUR_API_KEY'
Show my transactional email stats for the last 7 days, list contacts blocked or hard-bounced this week, and tell me which senders and domains are verified.
La llamada de creación protege el webhook con un token Bearer. El payload muestra un evento delivered.
Webhooks de email: lo esencial
Webhooks. Brevo envía por POST los eventos de email a la URL de tu webhook. El número de webhooks, de marketing y transaccionales, está limitado a 40.
Tipos. Brevo tiene webhooks transaccionales y webhooks de marketing.
Plan gratuito. El plan gratuito incluye 300 envíos de email al día y hasta 100.000 contactos almacenados. Todos los planes de Brevo dan acceso a las API RESTful, SMTP y los webhooks salientes para email transaccional.
Alojamiento en la UE. Los servidores de alojamiento en los que Brevo procesa y almacena sus bases de datos están todos en la Unión Europea. Brevo utiliza OVH en Francia y Alemania, y los datos se almacenan en Google Cloud en Bélgica.