Search customers and leads
method_search_customersFind customers and leads (the Customer table: Customers & Leads in Method) by text in the name or email, by lead/customer type, or list them all. Returns RecordID, name, email, phone, lead flag and status; override select for other fields (see method_get_table_fields with table Customer). Page with next_skip. GET /api/v1/tables/Customer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Rows per page, 1-100 (default 25). | |
| kind | No | leads = IsLeadStatusOnly true, customers = false (default all). | |
| skip | No | Rows to skip (default 0). Pass the previous reply's next_skip. | |
| text | No | Matches records whose Name or Email contains this text (case-insensitive). | |
| select | No | Field names to return (case-sensitive, from method_get_table_fields). Without a select Method returns hundreds of columns per row. | |
| active_only | No | Only active records (IsActive true). |