Export as CSV
crm_exportContacts, companies or deals as CSV text (one row each; tags and custom fields as columns), with the same filters, tag and segment as the find tools: for a spreadsheet or for the owner. Archived contacts and companies are left out. Up to 500 rows a call; continue with next_offset. 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 | ||
| object | Yes | ||
| 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. |