Email Sending Issue

SOLVED
Go to solution
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
Moderator

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
Moderator

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.

Visit Page