Payload shape
Every webhook delivery has the same top-level shape:The ID of the event (prefixed
pe_).The event type. See the full list below.
The event payload. The shape depends on
type.Event types
Campaign
campaign.created
Fires when a new campaign is created. data is the
Campaign object.
campaign.updated
Fires when an existing campaign is updated. data is the
Campaign object.
campaign.deleted
Fires when a campaign is deleted. data is the
Campaign object as it existed at the time of
deletion.
Trigger
trigger.created
Fires when a new trigger is created. data is the
Trigger object.
trigger.updated
Fires when an existing trigger is updated. data is the
Trigger object.
trigger.deleted
Fires when a trigger is deleted. data is the
Trigger object as it existed at the time of
deletion.
Segment
segment.created
Fires when a new segment is created. data is the
Segment object.
segment.updated
Fires when an existing segment is updated. data is the
Segment object.
segment.deleted
Fires when a segment is deleted. data is the Segment
object as it existed at the time of deletion.