curl -X PUT "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search/327105?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_string": "Directors and VPs in United States"}'
{
"success": true,
"message": "Saved search updated successfully"
}
Update a saved search (search string/name) by ID - PUT /search-filters/save-search/:id
curl -X PUT "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search/327105?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_string": "Directors and VPs in United States"}'
{
"success": true,
"message": "Saved search updated successfully"
}
api_key).search_string is required (the new name for the saved search).curl -X PUT "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search/327105?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_string": "Directors and VPs in United States"}'
{
"success": true,
"message": "Saved search updated successfully"
}