Skip to content

Webhooks

When you connect your Kit account, dough registers several webhooks to receive real-time notifications about subscriber activity. These webhooks power segmentation, engagement tracking, and automation.

Registered webhooks

Kit eventWhat dough does with it
subscriber.activatedApplies dietary preferences from the subscriber’s custom fields to their tags.
subscriber.tag_addedRecords tag additions as engagement events for analytics.
subscriber.unsubscribedRemoves the subscriber from segment counts.
purchase.completedRecords a purchase attribution event, linking the purchase to recently saved recipes.
link.clickedIf the clicked link is a Save This Recipe URL, records a save click engagement event.

Security

All webhook payloads are verified using HMAC-SHA256 with your Kit webhook secret. Unverified payloads are rejected. dough acknowledges valid webhooks immediately with a 200 response and processes them asynchronously.

Duplicate handling

Kit may deliver the same webhook event more than once (for example, if dough’s initial acknowledgment was delayed). dough handles this by checking for existing processed records before acting on any webhook. Duplicate deliveries are safely ignored.