Skip to main content
PUT
/
api
/
v1
/
search-email-leads
/
search-filters
/
fetched-searches
/
{id}
curl -X PUT "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/fetched-searches/327107?api_key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"search_string": "Directors and VPs in United States"}'
{
  "success": true,
  "message": "Fetched lead updated successfully"
}
This endpoint requires authentication via API key passed as a query parameter (api_key).

Path Parameters

id
string
required
The ID of the fetched lead to update (positive integer string, e.g. 327107). Pattern: ^[1-9][0-9]*$.

Query Parameters

api_key
string
required
Your SmartLead API key for authentication

Request Body

The request body must be JSON. search_string is required (the new name for the fetched lead).
search_string
string
required
The new search string/name for the fetched lead (1–255 characters).
curl -X PUT "https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/fetched-searches/327107?api_key=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"search_string": "Directors and VPs in United States"}'

Response Codes

200
Success
Request successful
400
Bad Request
Bad Request
401
Unauthorized
Unauthorized
403
Forbidden
Forbidden
404
Not Found
Not Found
500
Internal Server Error
Internal Server Error
{
  "success": true,
  "message": "Fetched lead updated successfully"
}