Find contacts
crm_find_contactsSearch the CRM by name, email, company or phone, or by filters on any field, tag or custom field, or by a saved segment. Returns a page of contacts (most recently seen first unless sort says otherwise), the total, and next_offset for the next page. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only records with this tag. | |
| sort | No | Field to sort by, "-" first for descending, e.g. "-amount" or "renewal_date". | |
| limit | No | ||
| query | No | ||
| offset | No | ||
| filters | No | Conditions that must all match, e.g. [{"field": "lifecycle_stage", "op": "eq", "value": "customer"}, {"field": "renewal_date", "op": "lte", "value": "today+30"}]. field: a standard field, "tag", or a custom field key (crm_list_fields lists them all). op: eq, ne, contains, starts_with, in (value is a list), gt, gte, lt, lte, is_empty, is_set. Dates take YYYY-MM-DD or today, today+N, today-N. | |
| segment | No | A saved segment (crm_save_segment), by name or id. | |
| lifecycle_stage | No | ||
| include_archived | No |