curl -X POST "https://server.smartlead.ai/api/v1/lead-list/500/import?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"leadList": [
{"email": "john@company.com", "first_name": "John", "last_name": "Doe", "company": "ACME Corp"},
{"email": "jane@startup.io", "first_name": "Jane", "last_name": "Smith", "company": "Startup Inc"}
],
"fileName": "enterprise-prospects-jan2025.csv",
"csvSettings": {
"ignoreGlobalBlockList": false
}
}'
{
"ok": true,
"data": {
"total_leads": 2,
"imported": 2,
"duplicates": 0,
"blocked": 0
}
}
Import leads into a specific lead list
curl -X POST "https://server.smartlead.ai/api/v1/lead-list/500/import?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"leadList": [
{"email": "john@company.com", "first_name": "John", "last_name": "Doe", "company": "ACME Corp"},
{"email": "jane@startup.io", "first_name": "Jane", "last_name": "Smith", "company": "Startup Inc"}
],
"fileName": "enterprise-prospects-jan2025.csv",
"csvSettings": {
"ignoreGlobalBlockList": false
}
}'
{
"ok": true,
"data": {
"total_leads": 2,
"imported": 2,
"duplicates": 0,
"blocked": 0
}
}
ignoreGlobalBlockList (boolean) to skip blocked domain checkingcurl -X POST "https://server.smartlead.ai/api/v1/lead-list/500/import?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"leadList": [
{"email": "john@company.com", "first_name": "John", "last_name": "Doe", "company": "ACME Corp"},
{"email": "jane@startup.io", "first_name": "Jane", "last_name": "Smith", "company": "Startup Inc"}
],
"fileName": "enterprise-prospects-jan2025.csv",
"csvSettings": {
"ignoreGlobalBlockList": false
}
}'
{
"ok": true,
"data": {
"total_leads": 2,
"imported": 2,
"duplicates": 0,
"blocked": 0
}
}