We're releasing some new features for marketing events. These new features include the ability to create contacts from the events, as well as tracking registration and detailed attendance for the events.
As part of these updates, we're making changes to the Marketing Events API to support these new features.
3 new endpoints are being released:
POST /marketing/v3/marketing-events/attendance/{externalEventId}/{subscriberState}/create
register
, attend
or cancel
. If the state is attend
, you can optionally include joinedAt
and leftAt
values to record how long they attended the event.POST /marketing/v3/marketing-events/attendance/{externalEventId}/{subscriberState}/email-create
POST /marketing/v3/marketing-events/events/{externalEventId}/complete
With the release of the new endpoints, 2 endpoints are being sunset:
POST /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert
/create
endpointPOST /marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/email-upsert
/email-create endpoint
Aside from the new URLs, the main difference between the old endpoints and the new ones is the support of the optional joinedAt
and leftAt
fields. Otherwise the data will be the same as you used with the old endpoints.
Additionally, you will need to make a request to the new /complete
endpoint to make sure that the attendance duration is displayed in the timeline of the related contact records in HubSpot.
The new endpoints and functionality are available today, and can be used immediately. Please see the Marketing Events API documentation for details on using the new endpoints.
The 2 sunset endpoints will be removed on April 30th, 2023.
Please let us know if you have any questions by joining the discussion in our community.