Basic

Get aggregated statistic intervals

Changed on

Get aggregated statistics in intervals for a specified time span. Each interval contains aggregated statistics of the emails that were sent in that time.

get/marketing/emails/2026-03/statistics/histogram

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/emails/2026-03/statistics/histogram
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Query parameters

emailIdsinteger[]
endTimestampstring date-time
interval'DAY' | 'HOUR' | 'MINUTE' | 'MONTH' | 'QUARTER' | 'QUARTER_HOUR' | 'SECOND' | 'WEEK' | 'YEAR'
startTimestampstring date-time

Response

successful operation

totalinteger required

Changes

Some revisions have not been checked yet.