Integrations
Zapier and Make
Automations can subscribe to mails.fit events with REST hooks and call the API as actions. The Zapier and Make apps are written but not published yet; until then, use Webhooks by Zapier or Make's HTTP module with the same calls.
Triggers (REST hooks)
list.completed: a list finished; the body has the list id, name, status and counts by result.verify.completed: a/v1/verifyrequest finished; the body is the verification result.
curl -X POST https://mails.fit/v1/hooks \
-H "Authorization: Bearer mf_live_…" \
-H "Content-Type: application/json" \
-d '{"target_url": "https://hooks.example.com/abc", "event": "list.completed"}'
# → 201 {"id": 12, "event": "list.completed", "target_url": "…"}
curl -X DELETE https://mails.fit/v1/hooks/12 -H "Authorization: Bearer mf_live_…"Deliveries are signed like every mails.fit webhook (X-Mailsfit-Signature: sha256=HMAC(secret, timestamp.body)), are retried three times, and a target that answers 410 Gone is unsubscribed. Targets must be public https URLs.
Actions
- Verify email:
POST /v1/verifywith{"email": "…"}. - Create list:
POST /v1/listswith{"emails": ["…"], "name": "…"}.
Full reference: OpenAPI.