ClawdMaildocs

Analytics

Email performance metrics.

Organization Overview

GET/api/v1/analytics

Get aggregate email performance metrics across your entire organization. Returns totals for sent, delivered, opened, clicked, bounced emails and total subscriber count.

Example

curl https://app.clawdmail.ai/api/v1/analytics \
  -H "Authorization: Bearer cm_live_your_key"

Response

{
  "data": {
    "totalSent": 48200,
    "totalDelivered": 47930,
    "totalOpened": 21560,
    "totalClicked": 6120,
    "totalBounced": 270,
    "totalSubscribers": 12450
  }
}

Campaign Performance

GET/api/v1/analytics/campaigns

Get per-campaign performance metrics. Returns a table of all campaigns with individual delivery, open, click, and bounce stats.

Example

curl https://app.clawdmail.ai/api/v1/analytics/campaigns \
  -H "Authorization: Bearer cm_live_your_key"

Response

{
  "data": {
    "campaigns": [
      {
        "id": "camp_9e7d6c5b4a3f",
        "name": "March Product Update",
        "sent": 4820,
        "delivered": 4793,
        "opens": 2156,
        "clicks": 612,
        "bounces": 27,
        "unsubscribes": 12,
        "openRate": 0.3854,
        "clickRate": 0.1039,
        "sentAt": "2026-03-01T14:00:00Z"
      },
      {
        "id": "camp_1a2b3c4d5e6f",
        "name": "Welcome Series — Day 1",
        "sent": 1240,
        "delivered": 1235,
        "opens": 892,
        "clicks": 341,
        "bounces": 5,
        "unsubscribes": 2,
        "openRate": 0.7198,
        "clickRate": 0.2750,
        "sentAt": "2026-02-28T09:00:00Z"
      }
    ]
  }
}