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/accounts/warmup-analytics
https://developer.instantly.ai/_mock/api/v2/api/v2/accounts/warmup-analytics
curl -i -X POST \
https://api.instantly.ai/api/v2/accounts/warmup-analytics \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"emails": [
"user@example.com"
]
}'
{ "email_date_data": { "example1@example.com": { … }, "example2@example.com": { … } }, "aggregate_data": { "example1@example.com": { … }, "example2@example.com": { … } } }
https://api.instantly.ai/api/v2/accounts/test/vitals
https://developer.instantly.ai/_mock/api/v2/api/v2/accounts/test/vitals
curl -i -X POST \
https://api.instantly.ai/api/v2/accounts/test/vitals \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
{ "status": "success", "success_list": [ { … } ], "failure_list": [ { … } ] }
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=019769d6-da17-7d0b-a17c-1f5ce16252d6&ids=019769d6-da17-7d0b-a17c-1f5d5bf55462&start_date=2024-01-01' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[ { "campaign_name": "My Test Campaign", "campaign_id": "019769d6-da18-7a3a-bfe3-6e3194b330ad", "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=019769d6-da19-7011-9351-2ffb35069e33&ids=019769d6-da19-7011-9351-2ffc4bb68fb2&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 }
https://api.instantly.ai/api/v2/campaigns/analytics/daily
https://developer.instantly.ai/_mock/api/v2/api/v2/campaigns/analytics/daily
curl -i -X GET \
'https://api.instantly.ai/api/v2/campaigns/analytics/daily?campaign_id=019769d6-da1a-7d7e-b441-8ad06463db37&campaign_status=1&end_date=2024-01-01&start_date=2024-01-01' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Default Response
The total number of unique links clicked. Unique meaning from unique leads, not unique links. For instance, if a lead clicked a link 3 times, it will be counted as 1 unique click. If a lead clicked 3 different links, it will still be counted as 1 unique click
[ { "date": "2025-03-01", "sent": 5421, "opened": 99, "unique_opened": 60, "replies": 60, "unique_replies": 60, "clicks": 60, "unique_clicks": 60 } ]
https://api.instantly.ai/api/v2/campaigns/analytics/steps
https://developer.instantly.ai/_mock/api/v2/api/v2/campaigns/analytics/steps
curl -i -X GET \
'https://api.instantly.ai/api/v2/campaigns/analytics/steps?campaign_id=019769d6-da1b-79cf-a68e-1ee5f002fb7d&end_date=2024-01-01&start_date=2024-01-01' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Default Response
The total number of unique links clicked. Unique meaning from unique leads, not unique links. For instance, if a lead clicked a link 3 times, it will be counted as 1 unique click. If a lead clicked 3 different links, it will still be counted as 1 unique click
[ { "step": "1", "variant": "0", "sent": 5421, "opened": 99, "unique_opened": 60, "replies": 60, "unique_replies": 60, "clicks": 60, "unique_clicks": 60 } ]