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.
/campaignsEvery 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
/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, Deliveredinteger | 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 ratepercent | Those people as a share of unique deliveries. |
Likely automated opens, Likely automated clicksinteger | The machine traffic left out above, as totals. |
Conversions, Attributed revenueinteger, 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, Unsubscribedinteger | Totals. |
Bounce rate, Complaint ratepercent | 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
/campaigns/:id/recipientsGET /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": "…" }
}statuspending | sent | failed | skipped | Optional filter. counts always covers the whole campaign; total counts the filtered rows. |
limit1–100 | Default 50. |
offsetinteger | Default 0. |
reasonis the sender's or the mail provider's own words on a failed or skipped row, andnullon sent ones.- Failed rows carry
retry:transient(a temporary failure, which an administrator can send again from the campaign page),permanentorunrecognised.failuresgroups them by reason and is present only when something failed.
Links
/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.