Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to get a member segments in web api

(0) ShareShare
ReportReport
Posted on by 5

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?

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: How to get a member segments in web api

    Hi,

    It cannot be achieved unfortunately.

    Since there is a 1:N relationship between Segment and Contact entity.

    pastedimage1643015775575v1.png

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans