Marketing Email API

Hi Everyone
We are using 2 APIs right now to source Marketing email data
1. To get email events: Email Events API Overview - HubSpot docs
2. To get email content (Subject, Body)
Marketing API | Marketing Email - HubSpot docs

Can you help us in terms of how can I combine both the tables using a common key or if there is a additional mapping table which can be used.

Hi @MSagar

We can’t combine both the email and the events as both are separate.

1. Marketing emails - The Marketing Emails API can be used to programmatically create, update, and get details about marketing emails. You can also query details about the post-send statistics of a specific email or set of emails. These statistics should match what you can access in the app on the Details section of a particular email and will be returned under the stats object in your JSON response.

2. Marketing events - A marketing event is a CRM object, similar to contacts and companies, that enables you to track and associate marketing events, such as a webinar, with other HubSpot CRM objects. Below, learn more about working with the marketing event API to integrate marketing events into an app.

For more reference, you can refer to the link attached (CLICK HERE)

“I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!”