resend.listContactSegments returns a contact’s paginated segment memberships.
automations/list-contact-segments.automation.ts
contactId accepts an ID or email address. limit accepts 1–100. after and before are optional mutually exclusive cursors. Optional second argument { account } selects the binding.
Returns { data, hasMore, object }. Each segment summary has id, name, and createdAt.