Using GET /marketing-emails/v1/emails/with-statistics I am able to get the following statistics:
"counters": {
"sent": 36,
"open": 18,
"delivered": 36,
"bounce": 0,
"unsubscribed": 0,
"click": 6,
"dropped": 2,
"selected": 38,
"spamreport": 0,
"suppressed": 0,
"hardbounced": 0,
"softbounced": 0,
"pending": 0,
"contactslost": 0,
"notsent": 2
}
These statistics are missing the “reply” counter which could be visible from the HubSpot dashboard. Is there any way I could retrieve the reply statistic?
SSukys
November 10, 2022, 4:23pm
2
Hey @DFedorchuk . I searched through the API documentation and tested a few things. It seems that this data is not exposed to the API at the moment.
I am sure not the answer you wanted, but hope it affirms your beliefs.
I think I figured it out. The “reply” statistic is only present in stats when there are replies in that marketing email. Otherwise the statistic is not returned. Here is an example:
"counters": {
"sent": 803,
"open": 408,
"delivered": 799,
"bounce": 4,
"unsubscribed": 18,
"click": 22,
"reply": 3,
"dropped": 34,
"selected": 837,
"spamreport": 0,
"suppressed": 0,
"hardbounced": 4,
"softbounced": 0,
"pending": 0,
"contactslost": 22,
"notsent": 34
},
Would be better if it was just 0 if there are no replies, but this works too.
SSukys
November 10, 2022, 4:38pm
4
Ahhh!!! That would make sense, I was also testing the calls on an email with no replies. What are the odds haha. Thanks for the update!