Email marketing: find contacts
email_marketing_contactsSEARCH or LIST the people in the e-mail marketing base — the shop's customers, CSV imports, subscribers — at most 20 per call: name, e-mail, phone, consent (can we write to them), source, number of shop orders, total spent and the last order date, tags. Answers «покажи клієнтську базу», «знайди клієнта Олена», «хто купував найбільше», «покажи покупців». 'search' matches a name, an e-mail or a phone; buyers_only=true keeps only people with shop orders; sort 'recent' (newest first, default), 'top_spent' or 'last_order'. For how many there are in total call email_marketing_summary. A full export is only in the cabinet's Email Marketing section. Read-only.
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": "email_marketing_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| limit | No | ||
| search | No | ||
| consent | No | ||
| buyers_only | No |