Receive event notifications with webhooks.
testing.testEvent
. You can see the payload below.
eventName
webhookSchemaVersion
1.0.0
for all events.
eventTime
contact
id
email
firstName
(nullable string)lastName
(nullable string)source
subscribed
(boolean)userGroup
userId
(nullable string)mailingLists
(list of mailingList
objects. See below)contactIdentity
id
email
userId
(nullable string)email
id
- The unqiue ID of the email.emailMessageId
- The ID of the sent version of the campaign/loop/transactional email.subject
- The subject of the sent version of the campaign/loop/transactional email.campaignId
, loopId
, or transactionalId
in the payload.mailingList
id
name
description
(nullable string)isPublic
(boolean)mailingLists
mailingList
objects (see above), when an event relates to multiple mailing lists.
sourceType
email.*
events, this specifies the type of email.
One of campaign
, loop
or transactional
.
Webhook-Signature
- A list of request signatures, which can be used to verify the request.Webhook-Id
- The unique ID of the event. You can use this to check if you have already saved or processed this specific event.Webhook-Timestamp
- The timestamp of the request (seconds since epoch).contactIdentity
object plus a full contact
object, which includes all of the new contact’s properties.
contactIdentity
object.
contactIdentity
object.
contactIdentity
and mailingList
objects.
contactIdentity
and mailingList
objects.
campaignId
value plus contactIdentity
and email
objects.
If the campaign was sent to one or more mailing lists, a mailingLists
list will also be included.
loopId
value plus contactIdentity
and email
objects.
If the loop was sent to one or more mailing lists, a mailingLists
list will also be included.
transactionalId
value plus contactIdentity
and email
objects.
sourceType
and a related campaignId
/ transactionalId
/ loopId
value, plus contactIdentity
and email
objects.
sourceType
and a related campaignId
/ transactionalId
/ loopId
value, plus contactIdentity
and email
objects.
contact.unsubscribed
event will also be sent.
Contains a sourceType
and a related campaignId
/ transactionalId
/ loopId
value, plus contactIdentity
and email
objects.
sourceType
and a related campaignId
or loopId
value, plus contactIdentity
and email
objects.
sourceType
and a related campaignId
or loopId
value, plus contactIdentity
and email
objects.
contact.unsubscribed
or contact.mailingList.unsubscribed
event will also be sent depending on whether the email was sent to a mailing list or not.
Contains a sourceType
and a related campaignId
or loopId
value, plus contactIdentity
and email
objects.
sourceType
and a related campaignId
/ transactionalId
/ loopId
value, plus contactIdentity
and email
objects.