List AI Sales Agent lead activity
Changed onGet per-lead event history (emails sent, opens, replies, clicks, bounces, opportunity status) for all campaigns of the AI Sales Agent. Leads are ordered by email ascending and paginated with a cursor. When start_date and end_date are omitted, the response covers all-time data.
Requires one of the following scopes: ai_sdr:read, ai_sdr:all, all:read, all:all
Request
- Base URLhttps://api.instantly.ai
- URLhttps://api.instantly.ai/api/v2/ai-agents/sales/{id}/leads/activity
- AuthHTTP bearer
Path parameters
AI Sales Agent ID
Query parameters
Start date filter (ISO 8601). When omitted, results are not bounded by a start date (all-time data up to end_date).
End date filter (ISO 8601). When omitted, results run up to the present.
Optional filter for the lead set.
Number of leads to return (default 100)
The email of the last lead in the previous page - used for pagination. You can use the value of the next_starting_after field from the previous response.
Response
Per-lead activity data with cursor pagination
Example response
{
"items": [
{
"email": "lead@example.com",
"emails_sent": 3,
"open_count": 5,
"replied": true,
"reply_count": 1,
"click_count": 2,
"has_opportunity": true,
"lt_interest_status": 1
}
],
"total": 250,
"next_starting_after": "lead@example.com"
}Changes
- info
endpoint added
- info