DashaMail webhooks

Paste the same URL into every DashaMail webhook slot. Outreach reads event from the body and updates the Delivery log.

1. URL for every slot
Same URL for Bounces, Dropped, Spam, Opens, Clicks, Unsubscribes, Deliveries, Sent — no per-event path, no query token required.
POST https://<ingestion-host>/v1/webhooks/dashamail
2. How events map
From POST field event (docs) / event_type (aliases).
send / sent      → sent
delivered       → delivered
bounced / hard  → bounced
dropped / soft  → failed
complained/spam → failed
opened / clicked / unsubscribed → logged, no status change
3. Body DashaMail sends
Usually application/x-www-form-urlencoded. We also accept JSON. Verification uses raw email + message_id as posted.
event=delivered
email=user@example.com
message_id=<id from send>
secret=<md5(email+message_id+Webhook-ключ)>
custom_vars=...   # optional, from X-Dashamail-Variables
4. Env
Copy «Webhook ключ» from Integrations → Transactional API into:
DASHAMAIL_WEBHOOK_HMAC_SECRET