Senlo
API reference

Postmark webhook

POST
/api/webhooks/postmark

Paste this URL into a Postmark webhook and add a custom header X-Postmark-Secret with the webhook secret saved on the provider in Senlo. Senlo applies Delivery, Bounce, SpamComplaint, Open and Click records. Other record types are acknowledged and ignored.

Header Parameters

X-Postmark-Secret*string

The webhook secret saved on the Postmark provider in Senlo.

Request Body

The record exactly as Postmark sends it.

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/postmark' \  -H 'X-Postmark-Secret: string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true}