Skip to main content
PUT
This endpoint requires authentication via API key passed as a query parameter (api_key).

Path Parameters

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

Query Parameters

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).
string
required
The new search string/name for the fetched lead (1–255 characters).

Response Codes

Success
Request successful
Bad Request
Bad Request
Unauthorized
Unauthorized
Forbidden
Forbidden
Not Found
Not Found
Internal Server Error
Internal Server Error