Email Sending Issue

SOLVED
Highlighted
Real Estate

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 ACCEPTED SOLUTION

Accepted Solutions
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

View solution in original post

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

View solution in original post

Developer Portal

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

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