Path Parameters
Query Parameters
Start date in YYYY-MM-DD format
End date in YYYY-MM-DD format
Timezone string (e.g. “America/New_York”), optional
Comma-separated client IDs (optional)
Comma-separated campaign IDs (optional)
Max number of results to return (optional)
Pagination offset (optional)
Set to “true” to return full data set (optional)
Request Body
curl "https://server.smartlead.ai/api/v1/analytics/campaign/overall-stats?api_key=YOUR_KEY&start_date=2024-01-01&end_date=2024-01-31&timezone=America%2FNew_York"
Response Codes
Invalid request parameters or malformed request body
Invalid or missing API key. Check your authentication.
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
Request validation failed. Check parameter types, required fields, and value constraints.
Too many requests. Please slow down and retry after the rate limit resets.
Server error occurred. Please try again or contact support if the issue persists.
API is temporarily unavailable or under maintenance. Please try again later.
{
"ok": true,
"data": {
"campaign_wise_performance": [
{
"id": 12345,
"campaign_name": "Q1 Cold Outreach",
"sent": 500,
"opened": 250,
"replied": 45,
"bounced": 8,
"open_rate": "50%",
"reply_rate": "9%",
"bounce_rate": "1.6%",
"positive_reply_rate": "5%",
"positive_replied": 25,
"unique_lead_count": 480,
"unique_open_count": 230
}
]
}
}