---
title: "Get aggregated email metrics"
method: GET
path: "/stats"
tags: ["Analytics"]
---

# Get aggregated email metrics

`GET /stats`

Backward-compatible alias for `GET /metrics`. Returns aggregated email engagement metrics for the specified time period.

## Query parameters

- `period` '1h' | '24h' | '7d' | '30d' | '90d'
- `start` string, date-time
- `end` string, date-time
- `includeMachineEngagement` boolean

## Response `200`

Success

- object
  - `success` boolean
  - `period` string
  - `stats` EngagementStats — Unified engagement metrics returned by analytics endpoints. Open and click metrics exclude detected scanner, preview, and tracked asset events unless includeMachineEngagement is true.
    - `sent` integer
    - `delivered` integer — Capped at sent count
    - `bounced` integer — Unique bounces (deduplicated by email send)
    - `opened` integer — Unique opens (deduplicated by email send)
    - `clicked` integer — Unique clicks (deduplicated by email send)
    - `replies` integer — Inbound replies captured for delivered emails
    - `unsubscribed` integer
    - `deliveryRate` number — Percentage (0-100)
    - `bounceRate` number — Percentage (0-100), calculated from sent emails
    - `openRate` number — Percentage (0-100)
    - `clickRate` number — Percentage (0-100)
    - `replyRate` number — Percentage (0-100), calculated from delivered emails with sent as the fallback denominator
    - `unsubscribeRate` number — Percentage (0-100)
    - `conversions` integer — Attributed goal conversions (last-touch, 24h window). Only returned by campaign and sequence metrics endpoints.
    - `revenueCents` integer — Attributed revenue in cents from purchase events (saas.purchase and ecommerce.order_placed). Only returned by campaign and sequence metrics endpoints.

## Other responses

- `400` — Invalid period parameter
- `401` — Unauthorized

## Changes

- **2026-07-16** `ad2202945c5b` — 2 info
  - added the optional property `stats/replies` to the response with the `200` status
  - added the optional property `stats/replyRate` to the response with the `200` status
- **2026-06-19** `fd494fa7e64d` — 1 info
  - added the new optional `query` request parameter `includeMachineEngagement`
- **2026-06-12** `f9a826460811` — 2 info
  - added the optional property `stats/conversions` to the response with the `200` status
  - added the optional property `stats/revenueCents` to the response with the `200` status
- **2026-05-15** `b040bb8c6608` — 2 info
  - added the optional property `stats/bounceRate` to the response with the `200` status
  - added the optional property `stats/bounced` to the response with the `200` status
- **2026-05-11** `ee7b7111c55b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/stats/get.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/09f0c32988fb/schema)
