Skip to main content

Search leads by name/company/phone and return recent call + SMS history per match.

GET 

/api/v1/leads/search

Text search across first_name, last_name, company_name; numeric queries with 4+ digits also match phone suffix. Exact phone matching via the phone param (normalized to E.164 before lookup). At least one of query/phone is required. Customer-submitted strings (customer_name, SMS body) are wrapped in <tool_data>...</tool_data> tags so downstream AI consumers treat them as data, not instructions. Scope: read.

Request

Responses

Matching leads with recent history