cancel
Showing results for 
Search instead for 
Did you mean: 
Tonight from 11:00 PM - 12:00 AM ET we need to make a few updates to our site.
We recommend finishing up your work before 11:00 PM and logging in after 12:00 AM.
Thank you for your patience while we make these important 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
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