Solved! Go to Solution.
Hello scotty.peterson,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
I wouldn't recommend sending a test email to new sign-ups, as it will show up in the inbox with a red footer area stating that it is a test email, the same way that sending a test email to yourself from an email campaign would:
Footer text:
"THIS IS A TEST EMAIL ONLY.
This email was sent by the author for the sole purpose of testing a draft message. If you believe you have received the message in error, please contact the author by replying to this message. Constant Contact takes reports of abuse very seriously. If you wish to report abuse, please forward this message to abuse@constantcontact.com."
Instead, I'd recommend setting up a list join automation with a dedicated list within the website UI. This way, you can use the API to add the contact to a certain list, and then the automation will deploy the email to them. There aren't any Automation endpoints within the API, so you'd need to set up the email automation from within the website UI. If you need help setting up the automation, you should be able to call into Constant Contact's Support Team at 866-289-2101.
Tutorial: Create an automation path
Getting started with the Automation Path Builder
Regarding your questions about the campaign_id and campaign_activity_id:
To get the Campaign IDs, you'll first want to GET a Collection of Email Campaigns, for which the Campaign ID will be listed for each:
GET a Collection of Email Campaigns
Next, using the Campaign ID, you'll call GET Details About a Single Email Campaign to get the Campaign Activity ID(s).
GET Details About a Single Email Campaign
If you want to test using POST Test Send an Email Campaign Activity, you will need to use the campaign_activity_id listed above "role": "primary_email" from the previous response.
POST Test Send an Email Campaign Activity
https://v3.developer.constantcontact.com/api_reference/index.html#!/Email_Scheduling/testSendCampaig...
Please have a look and let us know if you have any other questions!
Hello scotty.peterson,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
I wouldn't recommend sending a test email to new sign-ups, as it will show up in the inbox with a red footer area stating that it is a test email, the same way that sending a test email to yourself from an email campaign would:
Footer text:
"THIS IS A TEST EMAIL ONLY.
This email was sent by the author for the sole purpose of testing a draft message. If you believe you have received the message in error, please contact the author by replying to this message. Constant Contact takes reports of abuse very seriously. If you wish to report abuse, please forward this message to abuse@constantcontact.com."
Instead, I'd recommend setting up a list join automation with a dedicated list within the website UI. This way, you can use the API to add the contact to a certain list, and then the automation will deploy the email to them. There aren't any Automation endpoints within the API, so you'd need to set up the email automation from within the website UI. If you need help setting up the automation, you should be able to call into Constant Contact's Support Team at 866-289-2101.
Tutorial: Create an automation path
Getting started with the Automation Path Builder
Regarding your questions about the campaign_id and campaign_activity_id:
To get the Campaign IDs, you'll first want to GET a Collection of Email Campaigns, for which the Campaign ID will be listed for each:
GET a Collection of Email Campaigns
Next, using the Campaign ID, you'll call GET Details About a Single Email Campaign to get the Campaign Activity ID(s).
GET Details About a Single Email Campaign
If you want to test using POST Test Send an Email Campaign Activity, you will need to use the campaign_activity_id listed above "role": "primary_email" from the previous response.
POST Test Send an Email Campaign Activity
https://v3.developer.constantcontact.com/api_reference/index.html#!/Email_Scheduling/testSendCampaig...
Please have a look and let us know if you have any other questions!
Announcements
Join our list to be notified of new features and updates to our V3 API.
Sign Up