Skip to main content
addContactToSegment creates one contact-to-segment membership.
automations/add-resend-segment-member.automation.ts
contactId accepts a contact ID or email. segment accepts an exact name or ID. Optional account selects the binding. Returns { id: string }, the segment ID confirmed by Resend. Missing or ambiguous segment names fail during resolution.