List Contacts
list-contactsRetrieve contacts from your Resend audience, with optional segment filtering. Get contact IDs and emails for audience management.
Instructions
Purpose: List contacts from Resend. Optionally filter by segment. Use to discover contact IDs or emails.
NOT for: Listing segments (use list-segments). Not for listing sent emails (use list-emails) or broadcasts (use list-broadcasts).
Returns: For each contact: id, email, first_name, last_name, unsubscribed, created_at.
When to use: User asks "who's in this list?", "show contacts", "who did I add?" Don't bother telling the user the IDs, unsubscribe statuses, or creation dates unless they ask for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Contact ID after which to retrieve more (for forward pagination). Cannot be used with "before". | |
| limit | No | Number of contacts to retrieve. Default: 20, Max: 100, Min: 1 | |
| before | No | Contact ID before which to retrieve more (for backward pagination). Cannot be used with "after". | |
| segmentId | No | Segment ID to filter by. If provided, only contacts in this segment will be returned. |