Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools MailChimp API MailChimp API Adding New Members to Your List

Mike Bronner
Mike Bronner
16,395 Points

How to add members to segments?

I am working on converting my existing MailChimp API v2 implementation to use MailChimp API 3. Unfortunately I am encountering instances where the documentation does seem to exist yet in the knowledge base and also wasn't covered in the short Treehouse course.

One such instance is adding members to segments. Can anyone point me in the right direction here? :)

Thanks!

Mike Bronner
Mike Bronner
16,395 Points

I imagine its something along the lines of:

POST: /lists/{listId}/segments/{segmentId}/members

But I'm unclear on what the body should look like.

1 Answer

Hey Mike --

Since this doesn't directly pertain to the Treehouse videos, do you mind reaching out to our support team at apihelp@mailchimp.com. Our support team will be on the lookout for a ticket with "Treehouse" included in the subject line. They'll be able to take a look at what you're sending in detail. Thanks!

Mike Bronner
Mike Bronner
16,395 Points

Awesome, thanks Nate! Email sent :) Liking the new RESTful API much better.