List Contact Segments
list-contact-segmentsList all segments a contact belongs to in Resend using their contact ID or email address.
Instructions
List all segments a contact belongs to in Resend (by contact ID or email). Don't bother telling the user the IDs or creation dates unless they ask for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Segment ID after which to retrieve more (for forward pagination). Cannot be used with "before". | |
| No | Contact email address | ||
| limit | No | Number of segments to retrieve. Max: 100, Min: 1. If omitted, all segments are returned. | |
| before | No | Segment ID before which to retrieve more (for backward pagination). Cannot be used with "after". | |
| contactId | No | Contact ID |