leads_getRetrieves a listing of CRM leads in JSON format
| Name | Type | Required | Example |
|---|---|---|---|
user_id | Integer | N | 1001Filter userID if ai_token is not present |
search_params | String | N | ReceivedURL asearch params normally in the lead_management URL (includes statues/tags/etc) |
page_size | Integer | N | 20Specify a maximum amount of results to receive |
page_number | Integer | N | 1Specify a starting page (limit is page_size) |
limit_fields | String | N | id,statusCSV list of lead fields to return. All other lead data will be excluded. |
| Name | Type | Example |
|---|---|---|
num_results | Integer | 1 |
total_results | Integer | 1 |
leads | Array | of leads |