Skip to main content
GET
https://api2.ecomailapp.cz
/
pipelines
/
{pipeline_id}
/
stats-detail
curl "https://api2.ecomailapp.cz/pipelines/12345/stats-detail?per_page=100&page=1" \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "next_page_url": "https://api2.ecomailapp.cz/pipelines/12345/stats-detail?page=2",
  "total": 2546,
  "per_page": 100,
  "subscribers": {
    "foo@bar.com": {
      "open": 2,
      "send": 3,
      "unsub": 0,
      "soft_bounce": 0,
      "click": 0,
      "hard_bounce": 0,
      "out_of_band": 0,
      "spam": 0
    }
  }
}
pipeline_id
integer
required
Automation ID.
event
string
Filter by event type. One of: open, send, unsub, soft_bounce, click, hard_bounce, out_of_band, spam.
email
string
Filter by subscriber email address.
from_date
string
Filter from date onwards in YYYY-MM-DD format (UTC).
per_page
integer
Number of results per page. Default is 100, maximum is 5000.
page
integer
Page number.
The total field returns the total number of subscribers that entered the automation. The open, click, and send fields return unique counts.
curl "https://api2.ecomailapp.cz/pipelines/12345/stats-detail?per_page=100&page=1" \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "next_page_url": "https://api2.ecomailapp.cz/pipelines/12345/stats-detail?page=2",
  "total": 2546,
  "per_page": 100,
  "subscribers": {
    "foo@bar.com": {
      "open": 2,
      "send": 3,
      "unsub": 0,
      "soft_bounce": 0,
      "click": 0,
      "hard_bounce": 0,
      "out_of_band": 0,
      "spam": 0
    }
  }
}