What we want to do is send out simple news items on our own standard email template using the API.
So I thought this would mean having a template on constant contact, and then sending a campaign with a couple of changed custom items, like the news text and the date.
So it seems perhaps we could create a campaign and save it as a draft. Each time we want to send a news, we use the "campaign id" and "campaign activity id" for that one campaign, and PUT the list of current recipients and do the send.
BUT: I don't see a way to change a piece of the content of the campaign (ie our current news item) that is not per-contact. What am I missing?
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.
To automate creating/updating a template via the API, you'd need to utilize HTML code to create a Custom Code email, as the API does not offer support for email campaigns built within the editor. Essentially you'd build your application to update the lines of code that you specify (images/links/text) and then format and send that HTML via the API to your Constant Contact account.
Create the HTML code for your Custom Code email template.
[Designing HTML for Custom Code Emails]
Use your template code to create an email draft.
[Create an Email Campaign]
Please have a look and let us know if you have any other questions!