curl -X POST "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_string": "Directors in United States"}'
{
"success": true,
"message": "Search saved successfully"
}
{
"statusCode": 401,
"success": false,
"message": "Unauthorized",
"error": "User not authenticated"
}
Smart Prospect
Save Search API
Save a search filter for the authenticated user - POST /search-filters/save-search
POST
/
api
/
v1
/
search-email-leads
/
search-filters
/
save-search
curl -X POST "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_string": "Directors in United States"}'
{
"success": true,
"message": "Search saved successfully"
}
{
"statusCode": 401,
"success": false,
"message": "Unauthorized",
"error": "User not authenticated"
}
This endpoint requires authentication via API key passed as a query parameter (
api_key).Query Parameters
string
required
Your SmartLead API key for authentication
Request Body
The request body must be JSON.
search_string is required (human-readable name for the saved search). All other fields are optional search criteria.string
required
Human-readable name for the saved search (min length 1).
string[]
Full name(s) to search.
string[]
First name(s).
string[]
Last name(s).
string[]
Job title(s).
string[]
Titles to exclude.
string[]
Titles to include.
string[]
Companies to exclude.
string[]
Company domains to exclude.
string[]
Companies to include.
string[]
Company domains to include.
string[]
Department(s).
string[]
Seniority level(s).
string[]
Company name(s).
string[]
Company domain(s).
string[]
Company keyword(s).
string[]
Company headcount(s).
string[]
Company revenue range(s).
string[]
Industry(ies).
string[]
Sub-industry(ies).
string[]
City(ies).
string[]
State(s).
string[]
Country(ies).
boolean
Whether to hide owned contacts.
number
Result limit (1–10000).
boolean
Match title exactly.
boolean
Match company exactly.
boolean
Match company domain exactly.
curl -X POST "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_string": "Directors in United States"}'
Response Codes
Success
Request successful
Unauthorized
Unauthorized
Internal Server Error
Internal Server Error
{
"success": true,
"message": "Search saved successfully"
}
{
"statusCode": 401,
"success": false,
"message": "Unauthorized",
"error": "User not authenticated"
}
