Skip to main content
GET
Get an email v2 action

Authorizations

Authorization
string
header
required

Path Parameters

campaignId
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

The enabled as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
bcc

List of BCC email addresses, not visible to other recipients. Evaluated when the action runs. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

List of BCC email addresses, not visible to other recipients. Evaluated when the action runs.

body

HTML body of the email. Evaluated when the action runs. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

cc

List of CC email addresses. Evaluated when the action runs. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

List of CC email addresses. Evaluated when the action runs.

data
object

Parameters attached to the email send, keyed by name, available for reporting and webhooks. Each value is evaluated when the action runs.

email_message

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

extra_data

Additional parameters attached to the email send, evaluated as a single expression when the action runs. On a name collision, the extra_data value overrides the data value. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContext.

from

Sender email address. 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. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

headers

Additional email headers to attach to the email, as header-name to header-value pairs. 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. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

optout_list

Opt-out list this email sends on. Evaluated when the campaign is built. 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. Defaults to promotional. Buildtime expressions use ControllerBuildtimeContext.

Available options:
NOTIFICATION,
PERSONAL,
PROMOTIONAL,
TRANSACTIONAL
reply_to

Email address that replies to the email are directed to. Evaluated when the action runs. When absent, replies go to the sender address. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

subject

Subject line of the email. Evaluated when the action runs. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.

to

Email address of the recipient. Evaluated when the action runs. Defaults to an expression resolving to the person's primary email address. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use EmailV2ActionContentContext.