publ betaReference (MCP guide)
Open publ console

publ Reference

email_audience_get

Read a DRAFT or SCHEDULE email with a proposed segment or decide-later choice in the Email app (pApp F00003). Returns a revision. CSV recipients use email_recipients_upload. Sends nothing.

Inputs

Field Required here Contract
target Yes one of: SEGMENT, LATER (by recipientType)
target.emailId Yes When target.recipientType is SEGMENT: string; pattern ^[A-Za-z0-9_-]{1,200}$; Exact email identifier returned by email_drafts_get.
target.segmentId Yes When target.recipientType is SEGMENT: string; pattern ^[A-Za-z0-9_-]{1,200}$
target.emailId Yes When target.recipientType is LATER: string; pattern ^[A-Za-z0-9_-]{1,200}$; Exact email identifier returned by email_drafts_get.