Skip to main content
GET
Get the built email v2 action by version

Authorizations

Authorization
string
header
required

Path Parameters

campaignId
string
required
version
string
required
controllerId
string
required
actionId
string
required

Response

Successful response

action_id
string
action_type
enum<string>
Available options:
EMAIL_V2
component_ids
string[]
component_references
object[]
enabled
boolean
quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
bcc

List of BCC email addresses, not visible to other recipients, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. Runtime expressions use EmailV2ActionContentContext.

List of BCC email addresses, not visible to other recipients, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs.

body

HTML body of the email with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. Runtime expressions use EmailV2ActionContentContext.

cc

List of CC email addresses, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. Runtime expressions use EmailV2ActionContentContext.

List of CC email addresses, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs.

data
object

Parameters attached to the email send, keyed by name, available for reporting and webhooks. Key expressions are resolved at build time; each value is still a runtime evaluatable that is evaluated when the action runs.

email_message

The email message as configured: a literal value, or an expression (type:string) when defined dynamically. Runtime expressions use EmailV2ActionResponseContext.

extra_data

Additional parameters attached to the email send, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. On a name collision, the extra_data value overrides the data value. Runtime expressions use EmailV2ActionContext.

from

Sender email address with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. When absent, the program's configured sender is used; the address is subject to no-spoof rewriting when it is not authorized to send on the program's behalf. Runtime expressions use EmailV2ActionContentContext.

headers

Additional email headers to attach to the email, as header-name to header-value pairs, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. An action on the promotional opt-out list replaces the List-Unsubscribe and List-Unsubscribe-Post headers with the ones Extole generates for one-click unsubscribe. Runtime expressions use EmailV2ActionContentContext.

optout_list
enum<string>

Opt-out list this email sends on, resolved at build time. An email on the promotional or personal list is suppressed for a person who opted out of that list. An email on the transactional or notification list is always delivered. Only the promotional list carries the List-Unsubscribe and List-Unsubscribe-Post headers for one-click unsubscribe.

Available options:
NOTIFICATION,
PERSONAL,
PROMOTIONAL,
TRANSACTIONAL
reply_to

Email address that replies to the email are directed to, with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. When absent, replies go to the sender address. Runtime expressions use EmailV2ActionContentContext.

subject

Subject line of the email with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs. Runtime expressions use EmailV2ActionContentContext.

to

Email address of the recipient with buildtime expressions resolved. Still a runtime evaluatable that is evaluated when the action runs; defaults to an expression resolving to the person's primary email address. Runtime expressions use EmailV2ActionContentContext.