Segment details with name

0 Votes
Hi, Is there any way to search segments with the name with Constant Contact API V3? Currently, in the documentation, I am seeing only search by id GET /segments/{segment_id}. However, I don't keep the ids in my system. How can I get details with name ? Please let me know if there is any workarounds. Thanks,
0 Votes

Hello LeahR253,


Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.


When searching by an individual segment, the segment_id is required and there isn’t a way to search by segment name, however, you can retrieve a full list of segments from your account which includes the name and ID for each one by utilizing the GET all Segments request.


GET all Segments:!/Segments/getAccountSegments


You can then take the segment_id for the specific segment you’re looking to retrieve details for and use it in the GET a Segment's Details request.


GET a Segment's Details:!/Segments/getSegmentDetail


Please have a look and let us know if you have any other questions!



John B.
API Support Specialist
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Developer Portal

View API documentation, code samples, get your API key.

Visit Page


API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up

How confident are you about the effectiveness of your current marketing strategy?

Top Choice: Not confident at all (61%)