Klipfolio - custom API call for e-mail send statisticsSOLVE
Mar 27, 2019 3:24 PM
We use Klipfolio for dashboarding.
It looks like I need to build a custom API call to HubSpot get the data I want - sent, bounce, etc.
This link, seems to point to the right endpoint, etc. :
However, how am I supposed to determine the eventID of the email, and the create time in epoch seconds? How can I know or determine that from the HubSpot GUI interface review of the e-mail stats?
I'm not finding any clues in the dox.
Solved! Go to Solution.
Mar 28, 2019 6:17 PM - edited Mar 28, 2019 6:34 PM
Finally got it - have to use the campaign endpoint for the summary data, not email events, which provides detail:
https://api.hubapi.com/email/public/v1/campaigns/[hubspot internal id from 'see details' in email front end]/?hapikey=[my secret api key]
Note also, that for an A/B test email, as is the one in question for me right now, it returns details by A variant, B variant, and the 'winner' variant - all 3 distinct pieces of data.
But no overall gross summary of the email. i.e. all sends, all dropped, all bounces, etc.
If I expect details for the same campaign to excel, I am able to calculate an overall summary in Excel. (And upload that to Klipfolio)