I use the email event api to get data about the number of mail sent to customers for a selected time period
But the result returned is different from what is displayed on Hubspot UI
How to use the data when using API matches the display on the email analysis
The difference is quite high
I need to get the correct data to make the report
Please help me answer this issue, if you know how it works
Thanks very much!
Apologies for the delayed response. Thank you for sharing that information.
It seems you are using slightly different startTimestamp and endTimestampvalues than the email Analyze tool you referenced. If you go to this page, it shows the same statistics you reference in your screenshot, including 4,155 sends.
The URL shows this report is generated with the startDate=1543590000000, which is 2 hours earlier than your startTimestamp=1543597200000 and the endDate=1546268399999, which is almost a full day later than your endTimestamp=1546189200000, which only goes until 30 December instead of 31 December.
Since your timeframe is shorter, it contains fewer sends.
Apologies for the delayed response. Thank you for sharing that information.
It seems you are using slightly different startTimestamp and endTimestampvalues than the email Analyze tool you referenced. If you go to this page, it shows the same statistics you reference in your screenshot, including 4,155 sends.
The URL shows this report is generated with the startDate=1543590000000, which is 2 hours earlier than your startTimestamp=1543597200000 and the endDate=1546268399999, which is almost a full day later than your endTimestamp=1546189200000, which only goes until 30 December instead of 31 December.
Since your timeframe is shorter, it contains fewer sends.