list_contacts
Fetch contacts with optional segment filtering and pagination. Use to retrieve and manage Resend audience data programmatically.
Instructions
List contacts with optional segment filtering.
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": "list_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for forward pagination | |
| limit | No | Max results (1-100, default 20) | |
| before | No | Cursor for backward pagination | |
| segment_id | No | Filter by segment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| object | No | list | |
| has_more | No |