Get aggregated statistics
Changed onUse this endpoint to get aggregated statistics of emails sent in a specified time span. It also returns the list of emails that were sent during the time span.
Request
- Base URLhttps://api.hubapi.com
- Auth
- OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketing.email.read
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketing.email.write
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketplace_validation
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopescontent
Query parameters
A list of email IDs to filter the statistics. This should be a comma-separated list of integer IDs.
The end of the time range for the statistics, in ISO 8601 date-time format.
The specific property of the email statistics to retrieve.
The start of the time range for the statistics, in ISO 8601 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
1 more change in this revision
- info