Nicole Hemenway
Nicole Hemenway

Reputation: 593

Where can I find the segment id of a tag in Mailchimp?

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?

Upvotes: 7

Views: 6969

Answers (2)

Usman Mughal
Usman Mughal

Reputation: 211

I think I could find more simple way to find segment_id.

  1. Log into Mailchimp using your account
  2. Go to audience->View Contacts. Click on Manage Contacts and select Segments
  3. Right click on your segment and do copy link
  4. Paste copied link anywhere to get segment_id from URL. URL would be like https://us20.admin.mailchimp.com/lists/segments/view-members?id=xxxx&segment_id=xxxx

Upvotes: 8

Nicole Hemenway
Nicole Hemenway

Reputation: 593

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.

Upvotes: 11

Related Questions