v1
latestOpenAPI 3.1.02026-07-2617125852.3 KBLead
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 body
Example request
{
"campaign_id": "019f94cd-aef1-736b-80a6-a7eafa606ad4",
"list_id": "019f94cd-aef1-736b-80a6-a7eb27e164f3",
"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": "019f94cd-6ee0-7427-b15d-08dc06ad35e5",
"custom_variables": {
"past_customer": true,
"has_tried_competitors": false
}
}
],
"blocklist_id": "019f94cd-aef1-736b-80a6-a7ecd3913d4e",
"assigned_to": "019f94cd-aef1-736b-80a6-a7ed0419daa4",
"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": "019f94cd-aef1-736b-80a6-a7ee9cfced0b",
"skipped_count": 1,
"invalid_email_count": 1,
"incomplete_count": 1,
"remaining_in_plan": 9993,
"created_leads": [
{
"id": "019f94cd-aef1-736b-80a6-a7f1275ac9ea",
"email": "test@example.com",
"index": 0
}
]
}