This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered each time an email campaign has a new recipient activity.
New recipient activity includes when each email in a campaign is DELIVERED
, OPENED
,
or BOUNCED
. Also, when a URL inside the email is CLICKED
.
The type of activity that triggered the webhook is in actionEvent.body
and can be one of:
delivery
: Email was delivered to recipient.click
: Recipient clicked on a URL in an email.open
: Recipient opened an email.softBounce
: Email soft bounced when sent to a recipient.hardBounce
: Email hard bounced when sent to a recipient.
handler(event: CampaignEmailActivityUpdatedEnvelope): void | Promise<void>