subscribe to MailerLite webhook events for subscribers and campaigns
domain: developers.mailerlite.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
POST to https://connect.mailerlite.com/api/webhooks with name, events (array), url, and enabled
Set batchable: true if subscribing to campaign.open, campaign.click, or subscriber.deleted — these require batching
Verify each incoming request using the Signature header: HMAC-SHA256 of the JSON payload using the webhook's secret
Respond with a 2xx status within 3 seconds; offload heavy processing to a background job to avoid timeout-triggered retries
List/update/delete webhooks via GET/PUT/DELETE on /api/webhooks/{webhook_id}
Known gotchas
Failed deliveries (timeout or non-2xx) retry three more times with 10s, 100s, and 1000s delays — expect duplicate events and design handlers to be idempotent
batchable is mandatory for campaign.open, campaign.click, and subscriber.deleted; omitting it is a validation error for those event types
Webhooks are only delivered for active MailerLite accounts
Give your agent this knowledge — and 15,600+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?