I'm trying to use the Mailchimp API v3 to add tags to multiple subscribers. According to the Mailchimp API documentation, I need the segment id of the tag to do this. Where can I find this?
Click the List drop-down menu and choose the audience you want to work with. Click the Tag or Segment drop-down menu and choose Group or new segment. Choose your segmentation conditions. Click the Any drop-down to set the logic for your segment.
Tags, groups, and segments are the main audience management tools you'll find in Mailchimp. Learn more about how they work together. Tags are built for your own, internal audience organization.
Found it.
1) Log into the Mailchimp API Playground
2) Click Lists, then Subresources, then segments.
3) Click on the relevant segment.
4) You'll see: "id: {your_segment_id}" under Details.
I think I could find more simple way to find segment_id
.
segment_id
from URL. URL would be like
https://us20.admin.mailchimp.com/lists/segments/view-members?id=xxxx&segment_id=xxxx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With