Automations

Get stats for one automation email

Same counts as the other email stats endpoints, for the email sent by one send-email/notify node. Pass interval + metric for an hourly/daily/weekly/monthly breakdown instead of totals. For who received/opened/clicked it, see GET .../email/{id}/recipients.

get/v1/projectId/{projectId}/automations/{automationId}/email/{id}/stats

Request

  • Base URL: https://api.bluefox.email
  • URL: https://api.bluefox.email/v1/projectId/{projectId}/automations/{automationId}/email/{id}/stats
  • Auth: HTTP bearer

Path parameters

projectIdstring required

The project _id, found in the app under Project Settings.

automationIdstring required
idstring required

The automation email _id (the node's emailId).

Query parameters

fromstring date-time

Only count events at or after this date/time.

tostring date-time

Only count events at or before this date/time. If both from and to are given, the range between them cannot exceed 366 days.

interval'hourly' | 'daily' | 'weekly' | 'monthly'

Returns an EmailStatsTimeline (per-period breakdown, same as the app's stats chart) instead of totals. Requires metric. With interval, from/to are rounded to whole UTC days and default to the last 7 days (hourly) or the last month (others). Max range: hourly 7 days, daily 60 days, weekly/monthly 12 months (405 when exceeded).

metric'sent' | 'failed' | 'opens' | 'uniqueOpens' | 'clicks' | 'uniqueClicks' | 'clicksPerUniqueOpens' | 'uniqueClicksPerUniqueOpens' | 'unsubscribePerUniqueOpens' | 'bounces' | 'complaints' | 'subscribe' | 'unsubscribe' | 'resubscribe' | 'pause-subscription' | 'unpause-subscription'

With interval: what to count per period. subscribe/unsubscribe/resubscribe/pause-subscription/unpause-subscription count subscription changes caused by this email.

timeZonestring
Example:Europe/Budapest

With interval: IANA time zone the periods are labelled in. Defaults to UTC.

Response

OK

statusinteger

Example response

{
  "status": 200,
  "result": {
    "buckets": [
      {
        "period": "2026-10-01 10:00"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.