emails

Get email statistics

Get aggregated email delivery statistics for a project. Returns totals or daily breakdown for the specified period. Statistics are asynchronous and may lag by about one hour.

get/v3/emails/stats

Request

  • Base URL: https://api.unlayer.com
  • URL: https://api.unlayer.com/v3/emails/stats
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

projectIdstring

Project ID (auto-resolved for API key auth)

period'7d' | '30d' | '90d'

Time period for stats

groupBy'day'

Group results by day for chart data

Response

Email statistics. Shape depends on the groupBy query parameter: an aggregated totals object by default, or a daily breakdown array when groupBy=day.

Changes

No recorded changes to this operation across all 2 revisions of this API.