how do i post the email content via API

Highlighted
Member

how do i post the email content via API

Hi,

 

I have checked out the method within the API and there is nothing that indicates I can post the html content via API.

Is that possible? if so, by which method?

thank you

1 REPLY 1
Highlighted
Honored Contributor

Re: how do i post the email content via API

Hello,

 

In order to send email content through our API, it needs to be created as a campaign. Once you have a campaign with your content, you can assign it to one or more contact lists and schedule it to be sent. You can read about creating campaigns here: http://developer.constantcontact.com/docs/email-campaigns/email-campaign-api-index.html

 

While it is not a required field to create a campaign, you will need to assign lists using the "sent_to_contact_lists" property of the campaign. You can find the definition for that here: http://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=POS...

 

Once you've got your campaign created and lists assigned, the nest step is to scheduled the campaign, and you can find the docs for that here: http://developer.constantcontact.com/docs/campaign-scheduling/campaign-schedule-collection.html?meth...

 

Lastly, if you have any questions about the docs, please let me know!

 

Sincerely,

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured