curl "https://zeplo.ai/api/analytics/messages?startDate=2026-01-01&endDate=2026-01-31&granularity=day" \
-H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
{
"success": true,
"data": {
"summary": {
"totalSent": 5000,
"totalDelivered": 4850,
"totalRead": 3200,
"totalReplied": 450,
"totalFailed": 150,
"deliveryRate": 97.0,
"readRate": 66.0,
"replyRate": 9.3
},
"timeline": [
{
"date": "2026-01-01",
"sent": 200,
"delivered": 195,
"read": 130,
"replied": 20,
"failed": 5
}
]
}
}
Analytics
GET Message Analytics
Get message delivery and engagement analytics.
GET
/
api
/
analytics
/
messages
curl "https://zeplo.ai/api/analytics/messages?startDate=2026-01-01&endDate=2026-01-31&granularity=day" \
-H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
{
"success": true,
"data": {
"summary": {
"totalSent": 5000,
"totalDelivered": 4850,
"totalRead": 3200,
"totalReplied": 450,
"totalFailed": 150,
"deliveryRate": 97.0,
"readRate": 66.0,
"replyRate": 9.3
},
"timeline": [
{
"date": "2026-01-01",
"sent": 200,
"delivered": 195,
"read": 130,
"replied": 20,
"failed": 5
}
]
}
}
Message analytics
GET /api/analytics/messages
Retrieve message delivery, engagement, and volume analytics.
Headers
string
required
Session cookie (login via POST /api/auth/login)
string
required
Start date (ISO 8601)
string
required
End date (ISO 8601)
string
Filter by channel
string
Time granularity:
hour, day, week, or monthcurl "https://zeplo.ai/api/analytics/messages?startDate=2026-01-01&endDate=2026-01-31&granularity=day" \
-H "Cookie: connect.sid=s%3A7HImZ-T2BxWSbUsf9dtWdOlBW4rVuORO.5J0Do0NyvBu%2BkTvu1aHvtNs00BKhkpUKTwiokLS0cpw"
{
"success": true,
"data": {
"summary": {
"totalSent": 5000,
"totalDelivered": 4850,
"totalRead": 3200,
"totalReplied": 450,
"totalFailed": 150,
"deliveryRate": 97.0,
"readRate": 66.0,
"replyRate": 9.3
},
"timeline": [
{
"date": "2026-01-01",
"sent": 200,
"delivered": 195,
"read": 130,
"replied": 20,
"failed": 5
}
]
}
}
