List captured leads
list_leadsList the people who submitted a form, newest activity first. Scope to one page with pageId, to a whole website with siteId, or omit both for every lead in the workspace. Returns their contact details, which page they came from, and the fields they submitted. Spam that was already blocked is excluded by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum leads to return (default 50, max 100). | |
| offset | No | How many to skip, for paging through a long list. Compare with `total` in the result to know whether more remain. | |
| pageId | No | Only leads who submitted a form on this page (id from list_pages). | |
| search | No | Match against name, email, or phone. Phone matching ignores formatting, so "(901) 555" finds "9015550001". | |
| siteId | No | Only leads who submitted on any page of this website (id from list_sites). Ignored when pageId is given. | |
| workspace_id | No | Which workspace to act in. Only meaningful when this connection can access more than one workspace: omit it and you get an error listing the available workspace ids (also available from list_sites) to choose from. On a single-workspace connection, omit it or pass that workspace's own id; a different id is rejected. | |
| includeBlocked | No | Include contacts marked as spam. Off by default; turn it on only when reviewing what was blocked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Leads in this response. | |
| leads | Yes | ||
| total | Yes | Total matching the filters, ignoring paging. | |
| hasMore | Yes | True when more leads match than were returned. Page with `offset`. | |
| scopeTruncated | Yes | True when the page or site had more submissions than could be read in one pass, so some leads are missing from this list entirely. Paging will not recover them; narrow the scope instead. |