Campaign results

Pull your campaigns' numbers into your own reporting: what was sent and opened, who was reached and who was not, and which links people clicked. Campaigns themselves are written and sent in the app.

GET/campaigns

Every campaign, newest first: id, name, status (draft, scheduled, sending, sent or cancelled), subject, segmentName, folder, estimatedRecipients, scheduledAt, createdAt and sent, the number of emails sent so far. Times are exact UTC moments; the app shows them on your workspace clock.

Performance

GET/campaigns/:id/metrics
{
  "columns": {
    "dimensions": [],
    "metrics": [
      { "key": "Sent", "label": "Sent", "definition": "…", "format": "integer" },
      { "key": "Open rate", "label": "Open rate", "definition": "…", "format": "percent" },
      …
    ]
  },
  "rows": [ { "dimensions": [], "values": [4210, 4188, 1730, 402, 41.3, 9.6, …] } ],
  "note": "Conversions and revenue: order_completed events attributed to the last email clicked within 7 days before the order_completed.",
  "computedAt": "…"
}

One row of numbers, in the order of columns.metrics, each with a plain-words definition. Read values by position, matching them to the column's key:

Sent, Delivered
integer
Emails handed to delivery, and accepted by the receiving server.
Opened (unique), Clicked (unique)
integer
People who opened or clicked at least once. Opens and clicks judged likely automated (a mail-privacy proxy or link scanner) are left out.
Open rate, Click rate
percent
Those people as a share of unique deliveries.
Likely automated opens, Likely automated clicks
integer
The machine traffic left out above, as totals.
Conversions, Attributed revenue
integer, money
Only present when your organization has a conversion rule (Settings → Organization); note states the rule. Without one, a warning says so and the two columns are absent, not zero.
Hard bounces, Soft bounces, Complaints, Unsubscribed
integer
Totals.
Bounce rate, Complaint rate
percent
Hard bounces per email sent; complaints per email delivered.

Rates are percentages to one decimal, and 0 when nothing was delivered. The numbers cover the last 365 days of the campaign's activity. Erased contacts still count in totals, but not among unique people.

Who was reached

GET/campaigns/:id/recipients
GET /campaigns/:id/recipients?status=failed&limit=100&offset=0

# 200 →
{
  "counts": { "pending": 0, "sent": 4210, "failed": 12, "skipped": 3 },
  "total": 12,
  "rows": [
    {
      "contactId": "3f2a…",
      "contact": { "email": "…", "firstName": "…", "lastName": "…", "externalId": "cus_42" },
      "status": "failed", "reason": "…", "retry": "transient", "updatedAt": "…"
    }
  ],
  "failures": { "retryable": 9, "notRetried": [ { "class": "permanent", "reason": "…", "count": 3 } ], "message": "…" }
}
status
pending | sent | failed | skipped
Optional filter. counts always covers the whole campaign; total counts the filtered rows.
limit
1–100
Default 50.
offset
integer
Default 0.
  • reason is the sender's or the mail provider's own words on a failed or skipped row, and null on sent ones.
  • Failed rows carry retry: transient (a temporary failure, which an administrator can send again from the campaign page), permanent or unrecognised. failures groups them by reason and is present only when something failed.
GET/campaigns/:id/links
{ "rows": [ { "dimensions": ["https://shop.example.com/sale"], "values": [380, 512] } ], … }

Every link people clicked, most people first: the URL, then the number of people who clicked it (likely-automated clicks left out), then all clicks. Links nobody clicked are not listed. Clicks whose link was not recorded share one row, with – in place of the URL. At most 50 rows.