Export Contacts
export-contactsExport contacts matching the filters as CSV text (email, names, subscription, audiences, custom fields).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export-contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only contacts with this tag (comma-separate several for any of them). | |
| page | No | Page number (default: 1). | |
| sort | No | Sort column: email, first_name, last_name, name, audiences, created_at, updated_at, unsubscribed, score, audience_id, custom_fields.<key>. | |
| limit | No | Results per page (max: 100). | |
| match | No | Combine filters with AND (all, default) or OR. | |
| order | No | Sort direction. | |
| search | No | Free-text search. | |
| filters | No | Structured filters, combined with AND unless match is "or". | |
| max_score | No | Only contacts with at most this lead score. | |
| min_score | No | Only contacts with at least this lead score. | |
| audience_id | No | Only contacts in this audience. | |
| unsubscribed | No |