How to select list in email campaign API?

SOLVED
Highlighted
Occasional Contributor

How to select list in email campaign API?

I'm on this developer page:

http://developer.constantcontact.com/docs/email-campaigns/email-campaign-api-index.html

 

But I don't see an option for sending an email (campaign) to a specific list. If there are 10 email lists I would like to just send a campaign to list #4. Can this be done?

 

If it can what is the property and type?

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

Re: How to select list in email campaign API?

I see it here:

 

sent_to_contact_lists

array

Unique IDs of the contact lists the email campaign message is sent to

 

id

string

REQUIRED. Unique ID of the contact list (Read Only)

 

Thanks.

View solution in original post

2 REPLIES 2
Highlighted
Moderator

Re: How to select list in email campaign API?

You're talking about the lists object in the detailed documentation, which allows you to specify 1 or more lists to send a campaign to.  You can find out more about this in our campaign API documentation: http://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=POS...

Dave Berard
Senior Product Manager, Constant Contact
Highlighted
Occasional Contributor

Re: How to select list in email campaign API?

I see it here:

 

sent_to_contact_lists

array

Unique IDs of the contact lists the email campaign message is sent to

 

id

string

REQUIRED. Unique ID of the contact list (Read Only)

 

Thanks.

View solution in original post

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