Senlo
API reference

Mailjet webhook

POST
/api/webhooks/mailjet

Enter this URL in Mailjet's event tracking with the webhook secret saved on the provider in Senlo as the basic auth password: https://senlo:<secret>@<host>/api/webhooks/mailjet. Senlo applies sent, spam, permanent bounce and blocked events whose error is about the address. Single and grouped events are accepted; other event types are acknowledged and ignored.

Header Parameters

Authorization*string

Basic with the webhook secret as the password, sent by Mailjet from the URL.

Request Body

One event, or an array of events with Group events on, exactly as Mailjet sends them.

application/json
  1. body

Response Body

Accepted. Also returned for events Senlo ignores, so the provider stops retrying.

application/json
  1. response
success?boolean
Example Request
curl -X POST 'https://senlo.io/api/webhooks/mailjet' \  -H 'Authorization: string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true}