Lead
Add leads in bulk to a campaign or list
Adds up to 1000 leads to either a campaign or a list. You must provide a campaign_id or a list_id, but not both. The endpoint validates emails, checks against blocklists and existing leads.
Requires one of the following scopes: leads:create, leads:all, all:create, all:all
post/api/v2/leads/add
Request
- Base URLhttps://api.instantly.ai
- URLhttps://api.instantly.ai/api/v2/leads/add
- AuthHTTP bearer
Request body
Example request
{
"campaign_id": "01a19e6f-8db8-7ac3-85b5-0c1a2813899b",
"list_id": "01a19e6f-8db8-7ac3-85b5-0c1b428ff306",
"leads": [
{
"email": "example@example.com",
"personalization": "Hello, how are you?",
"website": "https://example.com",
"last_name": "Doe",
"first_name": "John",
"company_name": "Example Inc.",
"job_title": "Head of Growth",
"phone": "+1234567890",
"lt_interest_status": 1,
"pl_value_lead": "High",
"assigned_to": "01a19e6f-4332-784a-8287-7308f4b71670",
"custom_variables": {
"past_customer": true,
"has_tried_competitors": false
}
}
],
"blocklist_id": "01a19e6f-8db8-7ac3-85b5-0c1c753ac29e",
"assigned_to": "01a19e6f-8db8-7ac3-85b5-0c1da716b119",
"skip_if_in_workspace": true
}Response
A summary of the bulk import operation.
Example response
{
"status": "success",
"total_sent": 10,
"leads_uploaded": 7,
"in_blocklist": 1,
"blocklist_used": "01a19e6f-8db8-7ac3-85b5-0c1e739aebd9",
"skipped_count": 1,
"invalid_email_count": 1,
"incomplete_count": 1,
"remaining_in_plan": 9993,
"created_leads": [
{
"id": "01a19e6f-8db8-7ac3-85b5-0c21152198d1",
"email": "test@example.com",
"index": 0
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.