Search constituents
lgl_search_constituentsSearch active constituents (donors, members, volunteers, organizations). Give name and/or email for the common case, or raw terms. Available term fields: name, eaddr (email contains), phone_number, street, city, state (2-letter), postal_code, country, keyword (keyword id), updated_from / updated_to (YYYY-MM-DDTHH:MM:SSZ), membership_status (0 lapsed, 1 active), membership_level (comma-separated ids), membership_end_date_from / _to (YYYY-MM-DD), external_id, constituent_type (0 individual, 1 organization), groups (comma-separated group ids), lists (comma-separated list ids), custom_attr (key|op|value). At least one term is required. LGL: GET /api/v1/constituents/search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Any name field contains this. | |
| sort | No | Sort by name, external_id, lgl_id, date_created, date_updated, membership_level or membership_end_date_from. Append '!' to reverse (e.g. date_updated!). | |
| No | Email address contains this. | ||
| limit | No | Number of entries to return, 1-100. LGL's default is 25. | |
| terms | No | Extra raw LGL search terms, each 'field=value' (combined with AND). See the tool description for the available fields. | |
| expand | No | Related records to include inline on each constituent. | |
| offset | No | Start at this entry (0-based). Use the previous page's next_item. Default 0. |