curl https://api2.ecomailapp.cz/campaigns/segment/5c36008811e45/stats \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"stats": {
"810": {
"bounce": 0,
"bounce_rate": 0,
"click": 3,
"click_rate": 75,
"conversions": 2,
"conversions_value": 2500,
"delivery": 4,
"delivery_rate": 100,
"inject": 4,
"open": 4,
"open_rate": 100,
"spam": 0,
"spam_rate": 0,
"unsub": 1,
"unsub_rate": 25
}
}
}
Retrieves performance statistics for a specific segment across all campaigns it was sent to.
curl https://api2.ecomailapp.cz/campaigns/segment/5c36008811e45/stats \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"stats": {
"810": {
"bounce": 0,
"bounce_rate": 0,
"click": 3,
"click_rate": 75,
"conversions": 2,
"conversions_value": 2500,
"delivery": 4,
"delivery_rate": 100,
"inject": 4,
"open": 4,
"open_rate": 100,
"spam": 0,
"spam_rate": 0,
"unsub": 1,
"unsub_rate": 25
}
}
}
curl https://api2.ecomailapp.cz/campaigns/segment/5c36008811e45/stats \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"stats": {
"810": {
"bounce": 0,
"bounce_rate": 0,
"click": 3,
"click_rate": 75,
"conversions": 2,
"conversions_value": 2500,
"delivery": 4,
"delivery_rate": 100,
"inject": 4,
"open": 4,
"open_rate": 100,
"spam": 0,
"spam_rate": 0,
"unsub": 1,
"unsub_rate": 25
}
}
}