curl -X POST "https://server.smartlead.ai/api/v1/leads/leads/push-between-lists?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "move",
"fromListId": 500,
"toListId": 501
}'
{
"ok": true,
"data": {
"total_leads_moved": 1250
}
}
{
"message": "Invalid API Key"
}
Lead Lists
Move Leads Between Lists
Copy or move leads from one list to another
POST
/
api
/
v1
/
leads
/
leads
/
push-between-lists
curl -X POST "https://server.smartlead.ai/api/v1/leads/leads/push-between-lists?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "move",
"fromListId": 500,
"toListId": 501
}'
{
"ok": true,
"data": {
"total_leads_moved": 1250
}
}
{
"message": "Invalid API Key"
}
Request Body
string
required
Operation type:
copy or movearray
Specific lead IDs to transfer. Array of numbers, 1-10,000 items. Provide either
leadIds or fromListId.number
Source list ID to transfer all leads from. Provide either
leadIds or fromListId.number
required
Destination list ID to transfer leads to
curl -X POST "https://server.smartlead.ai/api/v1/leads/leads/push-between-lists?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "move",
"fromListId": 500,
"toListId": 501
}'
Response Codes
Success
Request successful
Bad Request
Invalid request parameters or malformed request body
Unauthorized
Invalid or missing API key
Validation Error
Request validation failed. Check parameter types and constraints.
{
"ok": true,
"data": {
"total_leads_moved": 1250
}
}
{
"message": "Invalid API Key"
}
