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 event | What dough does with it |
|---|---|
subscriber.activated | Applies dietary preferences from the subscriber’s custom fields to their tags. |
subscriber.tag_added | Records tag additions as engagement events for analytics. |
subscriber.unsubscribed | Removes the subscriber from segment counts. |
purchase.completed | Records a purchase attribution event, linking the purchase to recently saved recipes. |
link.clicked | If 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.