List Subscribers
listmonk_list_subscribersList and search Listmonk subscribers with pagination, sorting, SQL filters, and list membership. Find subscriber IDs and preview match counts before bulk operations.
Instructions
Lists/searches subscribers with pagination, sorting, and an optional Listmonk SQL filter expression (query) or list membership filter. Use this to find subscriber ids before calling other subscriber tools, and to preview the match count of a query before running a bulk query-based operation (delete/blocklist/list-membership).
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": "listmonk_list_subscribers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for paginated results (1-indexed). | |
| order | No | ||
| query | No | Filter subscribers with a Listmonk SQL expression over the subscribers table, e.g. "subscribers.email LIKE '%@example.com'". Omit to list all. | |
| list_id | No | Restrict to subscribers of these list ids. | |
| order_by | No | ||
| per_page | No | Number of items per page (1-200, default 20). | |
| response_format | No | Output format: 'markdown' for human-readable text (default) or 'json' for machine-readable data. | markdown |
| subscription_status | No | Only applies when list_id is given. |