Skip to main content
GET
https://api2.ecomailapp.cz
/
campaigns
/
{id}
/
stats-detail
curl https://api2.ecomailapp.cz/campaigns/12345/stats-detail \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "next_page_url": "https://api2.ecomailapp.cz/campaigns/12345/stats-detail?page=2",
  "total": 4256,
  "per_page": 100,
  "subscribers": {
    "foo@bar.com": {
      "open": 2,
      "send": 1,
      "unsub": 0,
      "soft_bounce": 0,
      "click": 1,
      "hard_bounce": 0,
      "out_of_band": 0,
      "spam": 0
    }
  }
}
id
integer
required
Campaign ID.
event
string
Filter by event type: open, send, unsub, soft_bounce, click, hard_bounce, out_of_band, spam.
email
string
Filter by subscriber email.
from_date
string
Filter from date onwards (YYYY-MM-DD in UTC).
per_page
integer
Results per page. Maximum and default is 100.
page
integer
Page number.
The total field returns the total number of subscribers the campaign was targeted at. The open, click, and send fields return unique counts — not total events, which can include one subscriber many times.
curl https://api2.ecomailapp.cz/campaigns/12345/stats-detail \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "next_page_url": "https://api2.ecomailapp.cz/campaigns/12345/stats-detail?page=2",
  "total": 4256,
  "per_page": 100,
  "subscribers": {
    "foo@bar.com": {
      "open": 2,
      "send": 1,
      "unsub": 0,
      "soft_bounce": 0,
      "click": 1,
      "hard_bounce": 0,
      "out_of_band": 0,
      "spam": 0
    }
  }
}