Get aggregated statistic intervals
Changed onGet aggregated statistics in intervals for a specified time span. Each interval contains aggregated statistics of the emails that were sent in that time.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/marketing/emails/2026-09/statistics/histogram
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: marketing.email.read
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: marketing.email.write
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: content
Query parameters
A list of email IDs to filter the statistics. This is a form-style parameter that can include multiple IDs.
The end timestamp for the statistics data range. Must be in date-time format.
The time interval for the histogram. Valid values are YEAR, QUARTER, MONTH, WEEK, DAY, HOUR, QUARTER_HOUR, MINUTE, and SECOND.
The start timestamp for the statistics data range. Must be in date-time format.
Response
successful operation
Changes
- info
the security scope
marketing.email.readwas added to the endpoint's security schemeoauth2 - info
the security scope
contentwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
marketing.email.readwas added to the endpoint's security schemeoauth2 - info
the security scope
contentwas removed from the endpoint's security schemeoauth2
- info