curl --request GET \
--url https://api.hubapi.com/marketing/v3/emails/statistics/histogram \
--header 'Authorization: Bearer <token>'{
"results": [
{
"aggregations": {
"counters": {},
"deviceBreakdown": {},
"qualifierStats": {},
"ratios": {}
},
"interval": {
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
}
],
"total": 123,
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
},
"prev": {
"before": "<string>",
"link": "<string>"
}
}
}Get aggregated statistics in intervals for a specified time span. Each interval contains aggregated statistics of the emails that were sent in that time.
curl --request GET \
--url https://api.hubapi.com/marketing/v3/emails/statistics/histogram \
--header 'Authorization: Bearer <token>'{
"results": [
{
"aggregations": {
"counters": {},
"deviceBreakdown": {},
"qualifierStats": {},
"ratios": {}
},
"interval": {
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
}
}
],
"total": 123,
"paging": {
"next": {
"after": "<string>",
"link": "<string>"
},
"prev": {
"before": "<string>",
"link": "<string>"
}
}
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
DAY, HOUR, MINUTE, MONTH, QUARTER, QUARTER_HOUR, SECOND, WEEK, YEAR Was this page helpful?