cancel
Showing results for 
Search instead for 
Did you mean: 
Tonight (8/23) from 11:00 PM - 12:00AM ET we need to make a few updates to our site. During this time, no emails will be sent and some customers will not be able to access their contacts. We recommend finishing up your work before 11:00 PM and logging in after 12:00 AM ET. Thank you for your patience while we make these updates.

Email Sending Issue

SOLVED
Occasional Contributor

Email Sending Issue

I want to send emails through API using contact list and email template created in constant contact .
According to given methods, I can see option to send email with parameter Campaign ID but not list ID. Is it possible to send list id along with campaign id.

1 REPLY 1
Highlighted
Moderator

Re: Email Sending Issue

Hello @YosvaniA,

 

Thank you for reaching out to Constant Contact's API Support.

 

When using our v2 API you would use the below JSON to add the listID.

 

"sent_to_contact_lists": [
        {
            "id": "1"
        }
    ]

You can find reference to this when creating an email campaign or when updating an email campaign. Just search the page for sent_to_contact_lists to find the needed information.


Regards,
Jimmy D.
Tier II API Support Engineer