crm_leads_list
Find CRM leads by ID, customer, status, prospect state, location, or created/modified date ranges. Get one paginated result set to identify leads needing follow-up.
Instructions
Search CRM leads by IDs, customer, status, prospect state, customer location, or created and modified ranges. Returns one page; use crm_leads_get for a known ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Comma-delimited lead IDs | |
| page | No | Page number (starts at 1) | |
| sort | No | Sort: Field (default), +Field (asc), or -Field (desc). Fields: Id, ModifiedOn, CreatedOn | |
| status | No | Lead status | |
| pageSize | No | Records per page (default 50) | |
| customerId | No | Associated customer ID | |
| genPermUrl | No | Generate permanent URL | |
| isProspect | No | Filter by prospect state | |
| customerZip | No | Filter by customer zip | |
| customerCity | No | Filter by customer city | |
| includeTotal | No | Include total count in response | |
| createdBefore | No | ||
| customerState | No | Filter by customer state | |
| modifiedBefore | No | ||
| withoutCustomer | No | Filter by missing customer/location | |
| createdOnOrAfter | No | ||
| modifiedOnOrAfter | No | ||
| customerCreatedBefore | No | Customer created before timestamp | |
| customerCreatedOnOrAfter | No | Customer created on/after timestamp | |
| customerModifiedOnOrAfter | No | Customer modified on/after timestamp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||