curl -X POST "https://api2.ecomailapp.cz/pipelines/1/stats-detail?per_page=100&page=1" \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"emails": ["foo@bar.cz", "foo2@bar.cz"]
}'
{
"next_page_url": null,
"total": 2,
"per_page": 100,
"subscribers": {
"foo@bar.cz": {
"open": 6,
"send": 5,
"unsub": 1,
"click": 7,
"hard_bounce": 0,
"spam": 0
},
"foo2@bar.cz": {
"open": 4,
"send": 4,
"click": 8
}
}
}
Fetch detailed engagement statistics for multiple email addresses in a given automation.
curl -X POST "https://api2.ecomailapp.cz/pipelines/1/stats-detail?per_page=100&page=1" \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"emails": ["foo@bar.cz", "foo2@bar.cz"]
}'
{
"next_page_url": null,
"total": 2,
"per_page": 100,
"subscribers": {
"foo@bar.cz": {
"open": 6,
"send": 5,
"unsub": 1,
"click": 7,
"hard_bounce": 0,
"spam": 0
},
"foo2@bar.cz": {
"open": 4,
"send": 4,
"click": 8
}
}
}
100, maximum is 5000.curl -X POST "https://api2.ecomailapp.cz/pipelines/1/stats-detail?per_page=100&page=1" \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"emails": ["foo@bar.cz", "foo2@bar.cz"]
}'
{
"next_page_url": null,
"total": 2,
"per_page": 100,
"subscribers": {
"foo@bar.cz": {
"open": 6,
"send": 5,
"unsub": 1,
"click": 7,
"hard_bounce": 0,
"spam": 0
},
"foo2@bar.cz": {
"open": 4,
"send": 4,
"click": 8
}
}
}