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:
https://developer.constantcontact.com/api_reference/index.html#!/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:
https://developer.constantcontact.com/api_reference/index.html#!/Segments/getSegmentDetail
Please have a look and let us know if you have any other questions!
Regards,
... View more