Request statistics for a list email, such as the number of clicks, opens, and opt-outs.
Email List Send
Send an email to every prospect on the specified list.
URI
1/api/email/version/4/do/send/?...
Creating the Email
You can satisfy the required fields to create a list email send request in the following ways:
Specify list_ids[], campaign_id, and email_template_id .
Specify list_ids[], campaign_id, text_content, name, subject, from_email, and from_name.
Specify list_ids[], campaign_idtext_content, name, subject, and from_user_id.
Parameters
The following parameters can be used in a list email send request.
Parameter
Type
Description
campaign_id
integer
The Account Engagement ID of the campaign to which the email send is assigned.
from_name
string
The name of the user sending the email.
from_email
string
The email address of user sending the email.
from_user_id
string
The Account Engagement ID of the user sending the email.
from_assigned_user
boolean
If the prospect has an assigned user, send the email from that user.
from_account_owner
boolean
If the prospect has an account owner, send the email from that user.
replyto_email
string
The email address to use for the reply emails.
list_ids[]
array
The Account Engagement ID of the email lists. The email is sent to all users on the specified lists. You can post multiple list IDs for multiple lists.
suppression_list_ids[]
integer
The Account Engagement ID of the suppression list. The email isn’t sent to any user on the suppression lists. You can post multiple suppression list IDs for multiple lists.
tags[]
string
The name of the tags to create or associate with the email. You can post multiple tags.
operational_email
boolean
When true, the email is sent to the prospect regardless of opt-out status. Your account must have this feature enabled to use this setting.
name
string
The email record’s name.
subject
string
The email’s subject.
text_content
string
The email’s text body. Must contain either %%unsubscribe%% or %%email_preference_center%%.
html_content
string
The email’s html body. Must contain either %%unsubscribe%% or %%email_preference_center%%.
email_template_id
integer
The Account Engagement ID of the email template.
scheduled_time
ISO8601 string
The ISO8601 date and time to send the email.
format
(xml or json)
The format in which the response is sent. The default is xml.
Example
Schedule an email for October 31 at 5pm GMT-4. Use a template with ID 6789. Send the email to four prospect lists and specify two suppression lists. The email is sent from the assigned user (if one is assigned). Three tags are assigned to the email.
Parent tag. Contains information about the email. For more information about email fields, see Email.
Email Read
Request information for an email, such as the Account Engagement ID, Account Engagement name, and message body. For information about fields in an email record, see Email.
URI
1/api/email/version/4/do/read/id/<ID>?..
Replace <ID> with the Account Engagement ID of the email.
Parameters
The request can include this parameter.
Parameter
Type
Description
include_message
boolean
If false, the response doesn’t include the html or text body of the email message. Default value is true.
Example
Request information for the email with ID 12345.
1/api/email/version/4/do/read/id/12345
Email Statistics
Request statistical information for a list email, such as the number of clicks, opens, and opt-outs.
URI
1/api/email/version/4/do/stats/id/<ID>?..
Replace <ID> with the Account Engagement ID of the email.