Email Campaigns
GET a Single Email Campaign Activity
Use this method to return a specific email campaign activity. Each email campaign activity contains the email content, metadata, and styling information of an email. Email campaign activities can also contain either contact lists or segments. Constant Contact uses this information to determine who to send the email campaign activity to when you schedule it. You cannot get email campaign activities that have a REMOVED status.
get/emails/activities/{campaign_activity_id}
Path parameters
campaign_activity_idstring required
The unique ID for an email campaign activity.
Query parameters
include'physical_address_in_footer' | 'permalink_url' | 'html_content' | 'document_properties' csv
Use the include query parameter to enter a comma separated list of additional email campaign activity properties for the V3 API to return. Valid values are physical_address_in_footer, permalink_url, html_content, and document_properties.
Response
Request successful.
Example response
{
"campaign_activity_id": "4c08372c-957a-48b5-bc45-72c7f00796cd",
"campaign_id": "8987dc1a-48ef-433a-b836-7ca4f9aa3481",
"role": "primary_email",
"contact_list_ids": [
"da10f460-3072-11e9-b282-fa163e6b01c1"
],
"segment_ids": [
1
],
"current_status": "DRAFT",
"format_type": 5,
"from_email": "jdodge@constantcontact.com",
"from_name": "Jake Dodge",
"reply_to_email": "jdodge@constantcontact.com",
"subject": "Holiday Special Newsletter",
"html_content": "<html><body>[[trackingImage]] <a href=\"http://www.constantcontact.com\">Visit ConstantContact.com!</a> </body></html>",
"permalink_url": "https://conta.cc/2GaQ8AY",
"preheader": "You don't want to miss this.",
"physical_address_in_footer": {
"address_line1": "123 Maple Street",
"address_line2": "Unit 1",
"address_optional": "Near Boston Fire Station",
"city": "Boston",
"country_code": "US",
"country_name": "United States",
"organization_name": "Jake Dodge's Pancakes",
"postal_code": "02451",
"state_code": "MA",
"state_non_us_name": "Victoria"
},
"document_id": "21babb03-8385-4739-b9cc-n6cce44633a7",
"document_properties": {
"style_content": ".white{color: #ffffff;}",
"letter_format": "XHTML",
"greeting_salutation": "Dear",
"greeting_name_type": "F",
"greeting_secondary": "Greetings!",
"subscribe_link_enabled": "false",
"subscribe_link_name": "Subscribe to my email list!",
"text_content": "<Text><Greeting/></Text>",
"permission_reminder_enabled": "false",
"permission_reminder": "Hi, just a reminder that you're receiving this email because you have expressed an interest in our company.",
"view_as_webpage_enabled": "false",
"view_as_webpage_text": "Having trouble viewing this email?",
"view_as_webpage_link_name": "Click here to view this email as a web page",
"forward_email_link_name": "Forward email"
}
}