Get publication engagements OAuth Scope: publications:read
Retrieve email engagement metrics for a specific publication over a defined date range and granularity.
By default, the endpoint returns metrics for the past day, aggregated daily. The max number of days allowed is 31. All dates and times are in UTC.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Query parameters
The starting date for the engagement metrics in YYYY-MM-DD format. Defaults to 1 day ago if not provided.
The number of days to return engagement metrics for, starting from start_date. Must be between 1 and 31. Defaults to 1 if not provided.
The granularity at which to report the engagement metrics. Defaults to day if not provided.
Filter engagement metrics by email type. If omitted, all email engagement is included.
post: Only post emails.
message: Only automated and system-generated emails.
The direction that the results are sorted in. Defaults to asc.
asc: Oldest to newest
desc: Newest to oldest
Response
The email type filter applied to the engagement metrics. Defaults to all.