My company is integrating with HubSpot. I am currently investigating a discrepancy my customer is reporting between the numbers they're seeing in HubSpot and the numbers we get from the Email Events API.
Looking at a given contact for example?
- we see email events in the UI
- the contact API (https://api.hubapi.com/contacts/v1/contact/vid/xxxx/profile) returns timestamps for hs_sales_email_last_opened / hs_sales_email_last_clicked
- the Email Events API for that recipient's email (https://firstname.lastname@example.org) returns nothing (empty array)
- we've looked at https://api.hubapi.com/engagements/v1/engagements/associated/contact/xxxx/paged and there are some emails there but they don't explain everything that's seen in the UI (in the UI, we clearly see marketing campaigns)
What are we missing? Are we looking at the correct endpoints?
(contactid and email redacted, happy to share over email)