Enum Value | Description |
---|---|
0 | Draft |
1 | Active |
2 | Paused |
3 | Completed |
4 | Running Subsequences |
-99 | Account Suspended |
-1 | Accounts Unhealthy |
-2 | Bounce Protect |
The entire API V2 documentation is interactive and can be tested here. To the right side of every endpoint you will see a box with an example request. You can click on the "Try it" button to send a request to the server right from the docs. You will need to provide an API key by clicking the ApiKeyAuth_token
blue text.
https://api.instantly.ai/
https://developer.instantly.ai/_mock/api/v2/
https://api.instantly.ai/api/v2/campaigns/search-by-contact
https://developer.instantly.ai/_mock/api/v2/api/v2/campaigns/search-by-contact
curl -i -X GET \
'https://api.instantly.ai/api/v2/campaigns/search-by-contact?search=lead-email%40example.com&sort_column=timestamp_created&sort_order=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "items": [ { … } ] }
https://api.instantly.ai/api/v2/campaigns/analytics
https://developer.instantly.ai/_mock/api/v2/api/v2/campaigns/analytics
curl -i -X GET \
'https://api.instantly.ai/api/v2/campaigns/analytics?end_date=2024-01-01&exclude_total_leads_count=true&id=019942fb-7277-73fb-92f9-ffe148219c21&ids=019942fb-7277-73fb-92f9-ffe2e518f9a5&start_date=2024-01-01' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[ { "campaign_name": "My Test Campaign", "campaign_id": "019942fb-7277-73fb-92f9-ffe320535856", "campaign_status": 1, "campaign_is_evergreen": true, "leads_count": 1500, "contacted_count": 1200, "open_count": 800, "reply_count": 300, "link_click_count": 800, "bounced_count": 50, "unsubscribed_count": 20, "completed_count": 1100, "emails_sent_count": 5000, "new_leads_contacted_count": 200, "total_opportunities": 10, "total_opportunity_value": 1000 } ]
https://api.instantly.ai/api/v2/campaigns/analytics/overview
https://developer.instantly.ai/_mock/api/v2/api/v2/campaigns/analytics/overview
curl -i -X GET \
'https://api.instantly.ai/api/v2/campaigns/analytics/overview?campaign_status=1&end_date=2024-01-01&id=019942fb-7278-768d-8148-8d9a988a2db2&ids=019942fb-7278-768d-8148-8d9b89f5bc64&start_date=2024-01-01' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Default Response
The total number of times the emails were opened, including duplicates
The unique number of times the emails were opened (counted once per lead, step, and campaign)
The number of links that got clicked (for the first time)
The unique number of links that got clicked, per step (counted once per lead, step, and campaign)
The number of leads that replied to at least one email (for the first time only)
The unique number of leads that replied to at least one email, per step (counted once per lead, step, and campaign)
The total number of meeting completed opportunities created
{ "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, "bounced_count": 50, "unsubscribed_count": 20, "completed_count": 1100, "emails_sent_count": 5000, "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 }