resend.getSegment returns a segment by stable ID.
automations/get-resend-segment.automation.ts
segmentId. Optional second argument { account } selects the binding. Returns id, name, object, and createdAt.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get a Resend contact segment.
resend.getSegment returns a segment by stable ID.
import { automation } from "automate.ax"
import { resend } from "automate.ax/resend"
export default automation("Get Resend segment", () => {
resend.getSegment({ segmentId: "78261eea-8f8b-4381-83c6-79fa7120f1cf" })
})
segmentId. Optional second argument { account } selects the binding. Returns id, name, object, and createdAt.