a few ideas:1) open the segment in „segment builder“ and copy last part of URL2) when saving a new segment, inspect traffic and search for API call saving/updating the segment (id either in request or response)3) use API to search for segment by name, tag, owner and/or reportsuite