Campaign Statistics
Get Campaign Statistics
Retrieves detailed email-level statistics for all emails sent in a campaign.
GET
Retrieves detailed email-level statistics for all emails sent in a campaign Essential for detailed campaign analysis, A/B test evaluation, lead engagement scoring, and identifying best-performing sequences
Overview
Retrieves detailed email-level statistics for all emails sent in a campaign Key Features:- Returns individual email stats including opens, clicks, replies, bounces with precise timestamps
- Supports comprehensive filtering by sequence number (1-20), email status (opened/clicked/replied/bounced), and date ranges
- Includes pagination with configurable offset/limit (max 1000)
Path Parameters
number
required
The campaign ID
Query Parameters
string
required
Your SmartLead API key
number
default:"0"
Pagination offset
number
default:"100"
Number of records to return
number
Filter by sequence number (1-20)
string
Filter by status: opened, clicked, replied, unsubscribed, bounced
string
Start date filter (ISO format)
string
End date filter (ISO format)
Response Codes
Success
Request successful
Bad Request
Invalid request parameters or malformed request body
Unauthorized
Invalid or missing API key. Check your authentication.
Not Found
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
Validation Error
Request validation failed. Check parameter types, required fields, and value constraints.
Rate Limit Exceeded
Too many requests. Please slow down and retry after the rate limit resets.
Internal Server Error
Server error occurred. Please try again or contact support if the issue persists.
Service Unavailable
API is temporarily unavailable or under maintenance. Please try again later.
Statistics Fields
string
Total number of email statistics records
array
Array of email statistics
