Hello,
I know how to get the members of a segment but how do i do the opposite?
I have a contact id of a member how can i use it to get the segments that he is in?

Hello,
I know how to get the members of a segment but how do i do the opposite?
I have a contact id of a member how can i use it to get the segments that he is in?
Hi,
It cannot be achieved unfortunately.
Since there is a 1:N relationship between Segment and Contact entity.
It means that a segment can have several contacts.
The lookup field can be used to uniquely identify the contacts it contains.
But conversely, a given contact cannot get a unique segment.