Get Contact's engagement data through Hubspot API

Hi,

We want to fetch Contact’s engagement data through API, the engagement data should contain Web and Email engagement.

Email Open, Email sent, Email clicked, Form Handler, FOrm Submission, landing Page etc.

Criteria I’m looking for the data to be in,

I want the data to be in JSON format.

It would be great if I can filter the data on createddate (activity date as this week)

I should receive data for multiple contacts at once.

Thanks for helping me out in advance, appreciate it!

Hi @OGore, I hope that you are well!
Thank you for reaching out to the Community!
I found for you this email events API that can be of interest to you.
I’d like to ask some of our experts on the subject: Hi @Teun, @ChrisoKlepke and @DanielJeal how do you proceed to filter the data on the create date to help @OGore, please?

Also, if anybody else has anything to add and/or share, please feel free to join in the conversation :slightly_smiling_face:

Thank you and have a fantastic day!
Best,
Bérangère

Hi @BérangèreL , Hope your are doing good too. Thankyou for looking into this.
The problem with email events API is I only receive Email engagement data also the data is against Email and I have a column in response as ContactIds - assuming this gives me all contacts that had interaction with same email. This does not help as I want the data to be for individual Contact and not aggregated to Emails. Hope I was able to clear my findings.
Again thanks for helping me out!