Skip to main content
GET
/
api
/
v1
/
campaigns
/
{campaign_id}
/
mailbox-statistics
curl "https://server.smartlead.ai/api/v1/campaigns/12345/mailbox-statistics?api_key=YOUR_API_KEY&limit=10&offset=0"
{
  "ok": true,
  "data": []
}

Path Parameters

campaign_id
integer
required
The ID of the campaign

Query Parameters

api_key
string
required
Your API key
client_id
integer
The ID of your client if this campaign is client specific
offset
integer
default:"0"
Pagination offset
limit
integer
Number of results to return. Min 1, max 20.
start_date
string
Start date for filtering in YYYY-MM-DD format. Both start_date and end_date must be provided, otherwise data will be for the full campaign length.
end_date
string
End date for filtering in YYYY-MM-DD format. Both start_date and end_date must be provided, otherwise data will be for the full campaign length.
time_zone
string
default:"UTC"
The campaign timezone, e.g. America/Los_Angeles. Same format as shown in your campaign UI next to the date filter.
private_api_key
string
Private API key for additional authorization (optional)
curl "https://server.smartlead.ai/api/v1/campaigns/12345/mailbox-statistics?api_key=YOUR_API_KEY&limit=10&offset=0"

Response Codes

200
Success
Request successful
400
Bad Request
Invalid request parameters or malformed request body
401
Unauthorized
Invalid or missing API key. Check your authentication.
404
Not Found
The requested resource does not exist or you don’t have access to it
{
  "ok": true,
  "data": []
}