Get campaign(s) analytics overview
Get analytics overview for one or multiple campaigns. Specify the id field to get the analytics overview for a single campaign, or leave it empty to get the analytics overview for all campaigns.
Note regarding the interest status totals (interested, meeting booked, meeting completed, closed): these are calculated based on the first occurrence of each event per contact by default. To change this behavior and calculate the totals based on all occurrences of the events, set the expand_crm_events parameter to true. Additionally, there is a 10 minute time window after you change a lead status in which the subsequent updates will NOT insert new analytics events to avoid duplicates from rapid status changes and avoid false inflation of the analytics numbers.
Request
- Base URLhttps://api.instantly.ai
- URLhttps://api.instantly.ai/api/v2/campaigns/analytics/overview
- AuthHTTP bearer
Query parameters
A campaign ID to get the analytics overview for. Leave this field empty to get the analytics overview for all campaigns
[ "01a19e6f-87d4-72cc-ba53-472024274671" ]
Start of the analytics range. Accepts a date-only value (YYYY-MM-DD) or a full ISO 8601 timestamp. Date-only values are interpreted as UTC midnight — e.g. 2026-04-07 is treated as 2026-04-07T00:00:00.000Z.
End of the analytics range. Accepts a date-only value (YYYY-MM-DD) or a full ISO 8601 timestamp. Date-only values are interpreted as UTC midnight — e.g. 2026-04-07 is treated as 2026-04-07T00:00:00.000Z.
Filter by campaign status (only the analytics for the campaigns with the specified status will be returned)
When true, calculates the total of all the lead interest status update events instead of only the first occurrence for each contact. This will affect the following fields: total_opportunities, total_interested, total_meeting_booked, total_meeting_completed, and total_closed. Example: if a lead goes from interested to meeting booked to closed, it will count as 3 events (total_interested: 1, total_meeting_booked_1, and total_closed: 1) when this parameter is set to true, and as 1 event (total_interested) when it is set to false (default).
Response
Default Response
Example response
{
"open_count": 800,
"open_count_unique": 800,
"open_count_unique_by_step": 800,
"link_click_count": 800,
"link_click_count_unique": 800,
"link_click_count_unique_by_step": 800,
"reply_count": 300,
"reply_count_unique": 300,
"reply_count_unique_by_step": 300,
"reply_count_automatic": 50,
"reply_count_automatic_unique": 45,
"reply_count_automatic_unique_by_step": 45,
"bounced_count": 50,
"unsubscribed_count": 20,
"completed_count": 1100,
"emails_sent_count": 5000,
"contacted_count": 4500,
"new_leads_contacted_count": 200,
"total_opportunities": 10,
"total_opportunity_value": 1000,
"total_interested": 103,
"total_meeting_booked": 45,
"total_meeting_completed": 12,
"total_closed": 10
}Changes
No recorded changes to this operation across all 7 revisions of this API.