Zum Hauptinhalt springen
GET
/
marketing
/
v3
/
emails
/
statistics
/
list
Obter estatísticas agregadas.
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/emails/statistics/list \
  --header 'Authorization: Bearer <token>'
{
  "emails": [
    123
  ],
  "campaignAggregations": {},
  "aggregate": {
    "deviceBreakdown": {},
    "qualifierStats": {},
    "counters": {},
    "ratios": {}
  }
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubGrátis
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubGrátis

Escopos Necessários

Esta API requer um dos seguintes escopos:
  • content

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

startTimestamp
string

A data e hora inicial do intervalo de tempo, em representação ISO8601.

endTimestamp
string

A data e hora final do intervalo de tempo, em representação ISO8601.

emailIds
integer[]

Filtre por IDs de e-mail. Inclua apenas estatísticas de e-mails com esses IDs.

property
string

Especifica quais propriedades de e-mail devem ser retornadas. Todas as propriedades serão retornadas por padrão.

Response

successful operation

Aggregated statistics for the given interval, plus the IDs of emails that were sent during that interval.

emails
integer[]

Lista de IDs de e-mail que foram enviados durante o período de tempo.

campaignAggregations
object

As estatísticas agregadas por campanha.

aggregate
object
I