Skip to main content
kit.onSubscriberComplained subscribes when a subscriber reports an email as spam.
automations/on-subscriber-complained.automation.ts

Event

data.subscriber contains the complaining subscriber. Provider snake case fields are exposed as camelCase. Subscriber custom-field keys under fields are preserved exactly. Automate.ax creates and maintains one account-level Kit webhook endpoint, verifies the timestamped X-Kit-Signature against the raw body, and deduplicates each event by id. Kit can batch up to 100 same-type events in one delivery; each event starts independently. Use kit.onEvent when one automation should receive every available event.